Improve probing frequency to reduce time spent on CI

Checks links every two to three days instead of every 24h to 25h40.
This improve the distribution of checks on CI runs.
This commit is contained in:
Marco Borgeaud 2024-08-14 09:11:44 +02:00
parent 71fa9cb6d3
commit 00eee176da

View File

@ -10,8 +10,8 @@ import pathlib
TOLERABLE_LINK_DOWNTIME = datetime.timedelta(days=7) TOLERABLE_LINK_DOWNTIME = datetime.timedelta(days=7)
LINK_PROBES_HISTORY_FILE = './link_probes.history' LINK_PROBES_HISTORY_FILE = './link_probes.history'
PROBING_COOLDOWN = datetime.timedelta(days=1) PROBING_COOLDOWN = datetime.timedelta(days=2)
PROBING_SPREAD = 100 # minutes PROBING_SPREAD = 60 * 24 # in minutes, 1 day
link_probes_history = {} link_probes_history = {}
# These links consistently fail in CI, but work-on-my-machine # These links consistently fail in CI, but work-on-my-machine