Merge branch 'master' of https://github.com/yumoqing/sqlor
Try to solve the pending error, but failed
This commit is contained in:
commit
7929b37f9d
@ -154,7 +154,6 @@ class ConnectionPool(object):
|
|||||||
with await self.lock:
|
with await self.lock:
|
||||||
lc = self.connectObject.get(conn,None)
|
lc = self.connectObject.get(conn,None)
|
||||||
del self.connectObject[conn]
|
del self.connectObject[conn]
|
||||||
await lc.free(conn)
|
|
||||||
await self._pool.put(lc)
|
await self._pool.put(lc)
|
||||||
|
|
||||||
@SingletonDecorator
|
@SingletonDecorator
|
||||||
|
Loading…
Reference in New Issue
Block a user