config celery and redis
This commit is contained in:
1 parent
76bf2715b2
commit
4e592e086f
2 files changed
+9
-9
No files matched your search
@@ -186,9 +186,9 @@ MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
|
||||
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
|
||||
|
||||
|
||||
CELERY_BROKER_URL = "redis://127.0.0.1:6379/0"
|
||||
#CELERY_TIMEZONE = "Australia/Tasmania"
|
||||
CELERY_RESULT_BACKEND = "redis://localhost:6379"
|
||||
CELERY_BROKER_URL = "redis://default:qmmVDw1ui6O6nNrCqI3ATnGJxFeR3xpsdy972ENmOCUi1YfgaHpV2oJrWxLccxRU@heu1dmurfwhighrpg7v773yw:6379/0"
|
||||
CELERY_TASK_RESULT_EXPIRES = 86400
|
||||
#CELERY_RESULT_BACKEND = "redis://heu1dmurfwhighrpg7v773yw:6379"
|
||||
CELERY_BROKER_CONNECTION_RETRY_ON_STARTUP = True
|
||||
CELERY_TIMEZONE = 'Asia/Tehran'
|
||||
|
||||
Reference in new issue
Block a user