Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Don't return closed connections to the pool

  • Loading branch information...
commit 71ed5b946f169a8f5ed3264d9a0a03094faed46a 1 parent fb2c04a
Tyler Hobbs thobbs authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  pycassa/pool.py
2  pycassa/pool.py
@@ -576,7 +576,7 @@ def execute(self, f, *args, **kwargs):
576 576 conn = self.get()
577 577 return getattr(conn, f)(*args, **kwargs)
578 578 finally:
579   - if conn:
  579 + if conn and conn.transport.isOpen():
580 580 self.put(conn)
581 581
582 582 def dispose(self):

0 comments on commit 71ed5b9

Please sign in to comment.
Something went wrong with that request. Please try again.