Skip to content

Commit

Permalink
add celery broker url
Browse files Browse the repository at this point in the history
  • Loading branch information
djeck1432 committed Dec 8, 2024
1 parent 313b137 commit 2c9a180
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spotnet_tracker/celery_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,8 @@
"schedule": 1,
},
}
CELERY_BROKER_URL = os.environ.get("CELERY_BROKER_URL", "redis://redis:6379/0")
app.conf.broker_connection_retry_on_startup = True


from .tasks import check_users_health_ratio

0 comments on commit 2c9a180

Please sign in to comment.