reconnect commits first

This commit is contained in:
Massimo Di Pierro committed 2012-04-12 09:13:04 -05:00
1 parent c172a50d38
commit 8e643026b2
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -472,6 +472,7 @@ class ConnectionPool(object):
def reconnect(self):
""" allows a thread to re-connect to server or re-pool """
self.close_all_instances('commit')
self.pool_connection(self._connection_function)
self.after_connection()