Commit 0b6bec94 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Do not notify cluster information to secondaries as they don't care.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1710 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent d3cd6a2c
......@@ -459,7 +459,8 @@ class Application(object):
if conn.isListening() or node is None:
# not identified or listening, keep the identification handler
continue
conn.notify(notification_packet)
if not node.isMaster():
conn.notify(notification_packet)
if node.isAdmin() or node.isMaster():
# those node types keep their own handler
continue
......
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