This commit is contained in:
yumoqing 2019-09-24 08:02:02 +08:00
parent 3507ddbab8
commit 72dd48f772

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