Align UR startup flow and Signal/XMPP client runtime wiring
This commit is contained in:
@@ -17,14 +17,18 @@ class UnifiedRouter(object):
|
||||
self.xmpp = XMPPClient(self, loop, "xmpp")
|
||||
self.signal = SignalClient(self, loop, "signal")
|
||||
|
||||
def start(self):
|
||||
def _start(self):
|
||||
print("UR _start")
|
||||
self.xmpp.start()
|
||||
self.signal.start()
|
||||
|
||||
|
||||
def run(self):
|
||||
try:
|
||||
self.xmpp.client.process()
|
||||
#self.xmpp.client.client.process()
|
||||
# self.xmpp.start()
|
||||
print("IN RUN BEFORE START")
|
||||
self._start()
|
||||
self.loop.run_forever()
|
||||
except (KeyboardInterrupt, SystemExit):
|
||||
self.log.info("Process terminating")
|
||||
|
||||
Reference in New Issue
Block a user