Commit 4dfafbc9 authored by Romain Courteaud's avatar Romain Courteaud

CMFActivity: fixup do not loop on tic if the node is the distribution node

parent 8609902e
...@@ -1323,7 +1323,7 @@ class ActivityTool (BaseTool): ...@@ -1323,7 +1323,7 @@ class ActivityTool (BaseTool):
# role while already in the "tic" method, it will keep looping. # role while already in the "tic" method, it will keep looping.
# Node role changes are rare and several are dangerous on a # Node role changes are rare and several are dangerous on a
# busy cluster, so it should not be a big drawback. # busy cluster, so it should not be a big drawback.
can_loop=is_distributing_node, can_loop=not is_distributing_node,
) )
except: except:
# Catch ALL exception to avoid killing timerserver. # Catch ALL exception to avoid killing timerserver.
......
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