Skip to content

Commit

Permalink
Merge pull request #6231 from dimagi/gh/stupid
Browse files Browse the repository at this point in the history
CELERY_BROKER_HEARTBEAT should be an integer, not a string
  • Loading branch information
gherceg authored Feb 20, 2024
2 parents e0cbc24 + 79e1355 commit d0abd7c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ CELERY_BROKER_WRITE_URL = BROKER_WRITE_URL = '{{ BROKER_URL }}'
CELERY_BROKER_URL = BROKER_URL = '{{ BROKER_URL }}'
{% endif %}
{% if 'CELERY_BROKER_HEARTBEAT' in localsettings and localsettings.CELERY_BROKER_HEARTBEAT %}
CELERY_BROKER_HEARTBEAT = '{{ localsettings.CELERY_BROKER_HEARTBEAT }}'
CELERY_BROKER_HEARTBEAT = {{ localsettings.CELERY_BROKER_HEARTBEAT }}
{% endif %}
CELERY_HEARTBEAT_THRESHOLDS = {
{% for queue, threshold in CELERY_HEARTBEAT_THRESHOLDS.items() | sort %}
Expand Down

0 comments on commit d0abd7c

Please sign in to comment.