fix: url name
This commit is contained in:
parent
793de1ec64
commit
1f5e7856b1
@ -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)
|
||||
|
@ -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),
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user