aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Karlis S <[email protected]>2020-03-31 17:08:16 +0300
committerGravatar GitHub <[email protected]>2020-03-31 17:08:16 +0300
commitcf0a7dc2b15e96a27b8a60eac07fe6e5cea41403 (patch)
tree85c3d245d10a9a71fba78a1f7955578fb2e68cfb
parent(Games Cog): Removed unnecessary check on possibilities showing. (diff)
(Games Cog): Updated task repeating cooldown time.
Changed `hours` argument in `refresh_genres_task` from `1.0` to `24.0` due no need for so fast updating.
-rw-r--r--bot/seasons/evergreen/game.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/seasons/evergreen/game.py b/bot/seasons/evergreen/game.py
index 15265c91..1a0c3e89 100644
--- a/bot/seasons/evergreen/game.py
+++ b/bot/seasons/evergreen/game.py
@@ -138,7 +138,7 @@ class Games(Cog):
self.refresh_genres_task.start()
- @tasks.loop(hours=1.0)
+ @tasks.loop(hours=24.0)
async def refresh_genres_task(self) -> None:
"""Refresh genres in every hour."""
try: