wait 5 seconds before reconnection atempt

This commit is contained in:
deflax 2024-01-20 01:54:17 +02:00
parent d956760e4c
commit 52ca77e67c

View file

@ -104,6 +104,7 @@ async def query_database():
except Exception as e:
logger_discord.error('Cannot connect to the database!')
logger_discord.error(e)
await asyncio.sleep(5)
return
if database == {}: