mirror of
https://github.com/bellingcat/whisperbox-transcribe.git
synced 2026-06-11 21:18:36 +03:00
14 lines
281 B
Python
14 lines
281 B
Python
from celery import Celery
|
|
|
|
from app.shared.settings import settings
|
|
|
|
|
|
def get_celery_binding() -> Celery:
|
|
celery = Celery(
|
|
broker_url=settings.BROKER_URL,
|
|
broker_connection_retry=False,
|
|
broker_connection_retry_on_startup=False,
|
|
)
|
|
|
|
return celery
|