From f660a6b49aba043a4ebb705e7652ffb8fd0d02af Mon Sep 17 00:00:00 2001 From: moanos Date: Thu, 10 Oct 2024 22:26:28 +0200 Subject: [PATCH] fix: varname --- src/notfellchen/celery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/notfellchen/celery.py b/src/notfellchen/celery.py index 763c575..7ea4774 100644 --- a/src/notfellchen/celery.py +++ b/src/notfellchen/celery.py @@ -22,7 +22,7 @@ app.conf.beat_schedule = { }, } -if settings.HEALTHCHECK_URL is not None and settings.HEALTHCHECK_URL != "": +if settings.HEALTHCHECKS_URL is not None and settings.HEALTHCHECKS_URL != "": # If a healthcheck is configured, this will send an hourly ping to the healthchecks server app.conf.beat_schedule['hourly-healthcheck'] = {'task': 'tools.healthcheck', 'schedule': crontab(minute=32),