Skip to content

Commit

Permalink
configure celery broker to health check redis
Browse files Browse the repository at this point in the history
this might solve one of the issues we see when our redis pod restarts celery/kombu#1019
  • Loading branch information
alexnsu authored Mar 29, 2022
1 parent e1859f0 commit 0aae528
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lemur/default.conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,10 @@

LOG_LEVEL = "DEBUG"
LOG_FILE = "lemur.log"

# Celery

broker_transport_options = {
# Check the health of connections every 5 seconds
'health_check_interval': 5,
}

0 comments on commit 0aae528

Please sign in to comment.