feat(tasks): integrate procrastinate app and configure on_app_ready callback ✨
This commit is contained in:
+2
-5
@@ -371,8 +371,5 @@ PASSWORDLESS_AUTH = {
|
||||
}
|
||||
|
||||
|
||||
# CELERY CONFIGURATION
|
||||
CELERY_BROKER_URL = f"redis://{REDIS_HOST}:6379/0"
|
||||
CELERY_ACCEPT_CONTENT = ["json"]
|
||||
CELERY_TASK_SERIALIZER = "json"
|
||||
CELERY_RESULT_BACKEND = f"redis://{REDIS_HOST}:6379/0"
|
||||
PROCRASTINATE_ON_APP_READY = "api.tasks_app.on_app_ready"
|
||||
PROCRASTINATE_APP = "api.tasks_app.app"
|
||||
|
||||
Reference in New Issue
Block a user