Be less spammy when SpaceAPI update fails
[saartuer.git] / spaceapi.py
index 7f788ab4b32aee8897b48f60e2f944139c28069f..181981ada949494c91e97ce9f22d5dafd1d32b71 100644 (file)
@@ -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)