feat: retry lost jobs on startup

This commit is contained in:
Felix Spöttel
2023-01-28 13:41:38 +01:00
parent a7ce71ed33
commit e995b1f2ff
6 changed files with 92 additions and 40 deletions

View File

@@ -4,6 +4,6 @@ from app.shared.config import settings
def get_celery_binding() -> Celery:
celery = Celery("tasks")
celery = Celery()
celery.conf.broker_url = settings.BROKER_URL
return celery