This commit is contained in:
Jan Dittberner 2020-03-04 20:44:26 +01:00
parent 3abf3c6eca
commit f6beedef7a

View file

@ -26,7 +26,7 @@ def get_env_setting(setting):
########## CELERY CONFIGURATION ########## CELERY CONFIGURATION
CELERY_BROKER_URL = get_env_setting("GVAMYSQL_BROKER_URL") CELERY_BROKER_URL = get_env_setting("GVAMYSQL_BROKER_URL")
CELERY_RESULT_BACKEND = get_env_setting("GVAMYSQL_RESULT_REDIS_URL") CELERY_RESULT_BACKEND = get_env_setting("GVAMYSQL_RESULTS_REDIS_URL")
CELERY_RESULT_PERSISTENT = True CELERY_RESULT_PERSISTENT = True
CELERY_TASK_RESULT_EXPIRES = None CELERY_TASK_RESULT_EXPIRES = None
CELERY_ROUTES = ("gvacommon.celeryrouters.GvaRouter",) CELERY_ROUTES = ("gvacommon.celeryrouters.GvaRouter",)