reaction-fix

This commit is contained in:
2022-11-28 12:27:37 +03:00
parent deec1c8181
commit 8266f77a0b
2 changed files with 5 additions and 2 deletions

View File

@@ -184,7 +184,7 @@ class ViewedStorage:
failed = 0
except Exception:
failed += 1
print("[stat.viewed] update failed #%d, wait 10 seconds" % failed)
print("[stat.viewed] update failed #%d, wait 10 seconds" % failed)
if failed > 3:
print("[stat.viewed] ⎩ not trying to update anymore")
break
@@ -197,4 +197,4 @@ class ViewedStorage:
await asyncio.sleep(self.period)
else:
await asyncio.sleep(10)
print("[stat.viewed] trying to update data again...")
print("[stat.viewed] trying to update data again...")