Commit 71796c8b authored by Julien Muchembled's avatar Julien Muchembled

admin: cleanups

parent a550c7cf
...@@ -33,7 +33,7 @@ from neo.lib.logger import INF ...@@ -33,7 +33,7 @@ from neo.lib.logger import INF
from neo.lib.protocol import \ from neo.lib.protocol import \
CellStates, ClusterStates, Errors, NodeTypes, Packets CellStates, ClusterStates, Errors, NodeTypes, Packets
from neo.lib.debug import register as registerLiveDebugger from neo.lib.debug import register as registerLiveDebugger
from neo.lib.util import add64, datetimeFromTID, dump from neo.lib.util import datetimeFromTID, dump
class Monitor(object): class Monitor(object):
...@@ -278,9 +278,7 @@ class Application(BaseApplication, Monitor): ...@@ -278,9 +278,7 @@ class Application(BaseApplication, Monitor):
self.em.setTimeout(None, None) self.em.setTimeout(None, None)
self._notify(self.operational) self._notify(self.operational)
def _notify(self, ask_ids=True, def _notify(self, ask_ids=True):
_askLastTransaction=Packets.AskLastTransaction(),
_askRecovery=Packets.AskRecovery()):
if ask_ids: if ask_ids:
self.askLastIds(self.master_conn) self.askLastIds(self.master_conn)
self.notifying = notifying = {None} self.notifying = notifying = {None}
......
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