From b43971d227ed5ab3e86ae29f3496e84d07edd202 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Wed, 27 Nov 2013 20:20:47 +0100 Subject: [PATCH] Be less spammy when SpaceAPI update fails --- spaceapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spaceapi.py b/spaceapi.py index 7f788ab..181981a 100644 --- a/spaceapi.py +++ b/spaceapi.py @@ -51,5 +51,5 @@ class SpaceApi: self._fail_count = 0 else: self._fail_count += 1 - if self._fail_count in (5, 50, 500): + if self._fail_count in (5, 100): logger.critical("Updating the SpaceAPI failed %d times in a row" % self._fail_count) -- 2.30.2