(Boeing r1762)

start session event queue on slave servers when RUNTIME message is received

this enables queued events on slave servers such as service start times
This commit is contained in:
ahrenholz 2013-09-03 15:23:44 +00:00
parent 1a659fe9eb
commit 0694a20793

View file

@ -1004,6 +1004,9 @@ class CoreRequestHandler(SocketServer.BaseRequestHandler):
if self.session.master:
self.warn("Unexpected event message: RUNTIME state received " \
"at session master")
else:
# master event queue is started in session.checkruntime()
self.session.evq.run()
elif eventtype == coreapi.CORE_EVENT_DATACOLLECT_STATE:
self.session.datacollect()
elif eventtype == coreapi.CORE_EVENT_SHUTDOWN_STATE: