Try to solve the pending error, but failed
This commit is contained in:
yumoqing 2019-10-21 11:42:49 +08:00
commit 7929b37f9d

View File

@ -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