Skip to content

Commit

Permalink
OpenConceptLab/ocl_issues#927 Redis clustering, move socket_timeout_*…
Browse files Browse the repository at this point in the history
… for result_backend
  • Loading branch information
rkorytkowski committed Aug 25, 2023
1 parent 55ceea9 commit 451f6ae
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,10 +390,9 @@
CELERY_RESULT_BACKEND_BASE_SLEEP_BETWEEN_RETRIES_MS = 100
CELERY_RESULT_BACKEND_MAX_RETRIES = 10
CELERY_RESULT_BACKEND_TRANSPORT_OPTIONS = {
'retry_policy': {
'socket_timeout': 5.0,
'socket_connect_timeout': 5.0,
} | RETRY_POLICY
'socket_timeout': 5.0,
'socket_connect_timeout': 5.0,
'retry_policy': RETRY_POLICY
}
CELERY_RESULT_EXTENDED = True
CELERY_RESULT_EXPIRES = 259200 # 72 hours
Expand Down

0 comments on commit 451f6ae

Please sign in to comment.