http error message cooldown to 10 mins
CI for csaxs_bec / test (push) Successful in 2m0s

This commit is contained in:
x12sa
2026-03-28 12:20:01 +01:00
parent 4b312f72c7
commit 556afec35d
@@ -237,7 +237,7 @@ class HttpUploader:
self._busy = False # True while an upload thread is running
self._warn_at: dict[str, float] = {} # key -> epoch of last warning
_WARN_COOLDOWN_S = 60 # only repeat the same warning once per minute
_WARN_COOLDOWN_S = 600 # only repeat the same warning once per minute
def _warn(self, key: str, msg: str) -> None:
"""Log a warning at most once per _WARN_COOLDOWN_S for a given key."""