Commit 75603e10 authored by Aurel's avatar Aurel

reset primary master node variable when closing connection to it


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@231 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 77b3ea88
...@@ -106,6 +106,7 @@ class ClientEventHandler(EventHandler): ...@@ -106,6 +106,7 @@ class ClientEventHandler(EventHandler):
# Close connection # Close connection
app.master_conn.close() app.master_conn.close()
app.master_conn = None app.master_conn = None
app.primary_master_node = None
if self.dispatcher.connecting_to_master_node == 0: if self.dispatcher.connecting_to_master_node == 0:
logging.critical("trying reconnection to master node...") logging.critical("trying reconnection to master node...")
self.dispatcher.connectToPrimaryMasterNode(app) self.dispatcher.connectToPrimaryMasterNode(app)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment