(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:
parent
1a659fe9eb
commit
0694a20793
1 changed files with 3 additions and 0 deletions
|
@ -1004,6 +1004,9 @@ class CoreRequestHandler(SocketServer.BaseRequestHandler):
|
||||||
if self.session.master:
|
if self.session.master:
|
||||||
self.warn("Unexpected event message: RUNTIME state received " \
|
self.warn("Unexpected event message: RUNTIME state received " \
|
||||||
"at session master")
|
"at session master")
|
||||||
|
else:
|
||||||
|
# master event queue is started in session.checkruntime()
|
||||||
|
self.session.evq.run()
|
||||||
elif eventtype == coreapi.CORE_EVENT_DATACOLLECT_STATE:
|
elif eventtype == coreapi.CORE_EVENT_DATACOLLECT_STATE:
|
||||||
self.session.datacollect()
|
self.session.datacollect()
|
||||||
elif eventtype == coreapi.CORE_EVENT_SHUTDOWN_STATE:
|
elif eventtype == coreapi.CORE_EVENT_SHUTDOWN_STATE:
|
||||||
|
|
Loading…
Reference in a new issue