reconnect commits first

This commit is contained in:
Massimo Di Pierro
2012-04-12 09:13:04 -05:00
parent 4f372972b4
commit bc6ac55177
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1 +1 @@
Version 1.99.7 (2012-04-12 08:26:20) dev
Version 1.99.7 (2012-04-12 09:12:46) dev
+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()