Skip to content

Commit

Permalink
Add a health check from celery to redis (Netflix#212)
Browse files Browse the repository at this point in the history
* Add a health check from celery to redis

this solved connection problems between celery and redis for other peeps celery/kombu#1019

* oops had a dev thingy still present in the conf
  • Loading branch information
Alex Sundström authored and GitHub Enterprise committed Mar 30, 2022
1 parent 619fc45 commit 467a439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lemur.conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def get_random_secret(length):

# increase visibility timeout (should be longer than longest skew-chain)
# see: https://docs.celeryproject.org/en/2.2/getting-started/brokers/redis.html#visibility-timeout
BROKER_TRANSPORT_OPTIONS = {'visibility_timeout': 21600} # 6 hours
BROKER_TRANSPORT_OPTIONS = {'visibility_timeout': 21600, 'health_check_interval': 5} # 6 hours

CELERYBEAT_SCHEDULE = {
'certificate_reissue': {
Expand Down

0 comments on commit 467a439

Please sign in to comment.