Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make sure connection count is decremented as we are disposing connect…

…ions from pool.

Remove unused var.
  • Loading branch information...
commit 33d64b4138d0483b1f60d4a7e8c5e0d18465acf1 1 parent d5b666b
Andre Cruz authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  pycassa/pool.py
View
2  pycassa/pool.py
@@ -585,10 +585,10 @@ def dispose(self):
conn = self._q.get(False)
conn._dispose_wrapper(
reason="Pool %s is being disposed" % id(self))
+ self._decrement_overflow()
except Queue.Empty:
break
- self._overflow = 0 - self.size()
self._notify_on_pool_dispose()
def size(self):
Please sign in to comment.
Something went wrong with that request. Please try again.