Skip to content

Commit

Permalink
Merge pull request #957 from ImageMarkup/celery-retry-connection
Browse files Browse the repository at this point in the history
Retry the celery broker connection on startup
  • Loading branch information
danlamanna committed Sep 9, 2024
2 parents 79b91c5 + facfa39 commit 5c16a2c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions isic/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ def mutate_configuration(configuration: ComposedConfiguration) -> None:

CDN_LOG_BUCKET = values.Value()

# Retry connections in case rabbit isn't immediately running
CELERY_BROKER_CONNECTION_RETRY_ON_STARTUP = True
CELERY_WORKER_MAX_MEMORY_PER_CHILD = 256 * 1024

CELERY_BEAT_SCHEDULE = {
Expand Down

0 comments on commit 5c16a2c

Please sign in to comment.