equal
deleted
inserted
replaced
341 'connections) or to much load on the server (in ' |
341 'connections) or to much load on the server (in ' |
342 'which case you can try to set a bigger ' |
342 'which case you can try to set a bigger ' |
343 'connections pools size)') |
343 'connections pools size)') |
344 |
344 |
345 def _free_pool(self, pool): |
345 def _free_pool(self, pool): |
346 pool.rollback() |
|
347 self._available_pools.put_nowait(pool) |
346 self._available_pools.put_nowait(pool) |
348 |
347 |
349 def pinfo(self): |
348 def pinfo(self): |
350 # XXX: session.pool is accessed from a local storage, would be interesting |
349 # XXX: session.pool is accessed from a local storage, would be interesting |
351 # to see if there is a pool set in any thread specific data) |
350 # to see if there is a pool set in any thread specific data) |