projects
/
saartuer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7a99a7e
)
Be less spammy when SpaceAPI update fails
author
Ralf Jung
<post@ralfj.de>
Wed, 27 Nov 2013 19:20:47 +0000
(20:20 +0100)
committer
Ralf Jung
<post@ralfj.de>
Wed, 27 Nov 2013 19:20:47 +0000
(20:20 +0100)
spaceapi.py
patch
|
blob
|
history
diff --git
a/spaceapi.py
b/spaceapi.py
index 7f788ab4b32aee8897b48f60e2f944139c28069f..181981ada949494c91e97ce9f22d5dafd1d32b71 100644
(file)
--- 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, 5
00):
+ if self._fail_count in (5,
1
00):
logger.critical("Updating the SpaceAPI failed %d times in a row" % self._fail_count)