bugfix
This commit is contained in:
parent
f7ac6112ec
commit
3507ddbab8
@ -69,7 +69,11 @@ class LifeConnect:
|
||||
asyncio.sleep(wait_time)
|
||||
wait_time = wait_time + 0.4
|
||||
loop_cnt = loop_cnt - 1
|
||||
await self.conn.close()
|
||||
try:
|
||||
await self.conn.close()
|
||||
except:
|
||||
pass
|
||||
self.conn = None
|
||||
await self._mkconn()
|
||||
raise Exception('database connect break')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user