fix: varname

This commit is contained in:
moanos [he/him] 2024-10-10 22:26:28 +02:00
parent ab0c1a5c46
commit f660a6b49a

View File

@ -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 # If a healthcheck is configured, this will send an hourly ping to the healthchecks server
app.conf.beat_schedule['hourly-healthcheck'] = {'task': 'tools.healthcheck', app.conf.beat_schedule['hourly-healthcheck'] = {'task': 'tools.healthcheck',
'schedule': crontab(minute=32), 'schedule': crontab(minute=32),