This commit is contained in:
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user