mirror of
https://github.com/bellingcat/whisperbox-transcribe.git
synced 2026-06-13 05:58:35 +03:00
feat: add task time limit settings, hard time limit
This commit is contained in:
@@ -4,6 +4,9 @@ from app.shared.settings import settings
|
||||
|
||||
|
||||
def get_celery_binding() -> Celery:
|
||||
celery = Celery()
|
||||
celery.conf.broker_url = settings.BROKER_URL
|
||||
celery = Celery(
|
||||
broker_url=settings.BROKER_URL,
|
||||
broker_connection_retry=False,
|
||||
broker_connection_retry_on_startup=False,
|
||||
)
|
||||
return celery
|
||||
|
||||
Reference in New Issue
Block a user