mirror of
https://github.com/bellingcat/whisperbox-transcribe.git
synced 2026-06-11 13:08:35 +03:00
13 lines
280 B
Python
13 lines
280 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
|