fix(bot): 🐛 Add timeout to Redis sockets.

This commit is contained in:
Nyeki.py
2024-11-01 21:03:48 -03:00
parent 1f5e741f71
commit c739c1b7e7
3 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ class Admin(base.Cog):
self.bot = bot_instance
self.update_leaderboard.add_exception_type(exceptions.ConfigurationError)
# self.update_leaderboard.start()
self.update_leaderboard.start()
def cog_unload(self) -> None:
self.update_leaderboard.cancel()