fix: url name

This commit is contained in:
moanos [he/him] 2024-10-19 20:38:24 +02:00
parent 793de1ec64
commit 1f5e7856b1
2 changed files with 2 additions and 2 deletions

View File

@ -31,6 +31,6 @@ def age_as_hr_string(age: datetime.timedelta) -> str:
def healthcheck_ok():
try:
requests.get(settings.HEALTHCHECK_URL, timeout=10)
requests.get(settings.HEALTHCHECKS_URL, timeout=10)
except requests.RequestException as e:
logging.error("Ping to healthcheck-server failed: %s" % e)

View File

@ -25,5 +25,5 @@ app.conf.beat_schedule = {
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),
'schedule': crontab(minute=43),
}