await and monitor workers on startup

This commit is contained in:
ed
2021-07-27 15:48:00 +00:00
parent b533be8818
commit 1ad7a3f378
5 changed files with 41 additions and 16 deletions

View File

@@ -141,6 +141,7 @@ class HttpSrv(object):
fno = srv_sck.fileno()
msg = "subscribed @ {}:{} f{}".format(ip, port, fno)
self.log(self.name, msg)
self.broker.put(False, "cb_httpsrv_up")
while not self.stopping:
if self.args.log_conn:
self.log(self.name, "|%sC-ncli" % ("-" * 1,), c="1;30")