Commit 27a18f96 authored by Vincent Pelletier's avatar Vincent Pelletier

Do not close listening connection on secondary masters.

parent 40ba937d
......@@ -362,6 +362,7 @@ class Application(object):
# Restart completely. Non-optimized
# but lower level code needs to be stabilized first.
for conn in self.em.getConnectionList():
if not conn.isListening():
conn.close()
# Reconnect to primary master node.
......
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