wait 5 seconds before reconnection atempt
This commit is contained in:
parent
d956760e4c
commit
52ca77e67c
1 changed files with 1 additions and 0 deletions
|
@ -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 == {}:
|
||||
|
|
Loading…
Reference in a new issue