提交 79833f92 编写于 作者: R root

minor changes

上级 4cdcaba9
...@@ -2350,7 +2350,7 @@ class ServiceManagerThread: ...@@ -2350,7 +2350,7 @@ class ServiceManagerThread:
self._thread2.start() self._thread2.start()
# wait for service to start # wait for service to start
for i in range(0, 10): for i in range(0, 100):
time.sleep(1.0) time.sleep(1.0)
# self.procIpcBatch() # don't pump message during start up # self.procIpcBatch() # don't pump message during start up
print("_zz_", end="", flush=True) print("_zz_", end="", flush=True)
...@@ -2358,7 +2358,7 @@ class ServiceManagerThread: ...@@ -2358,7 +2358,7 @@ class ServiceManagerThread:
logger.info("[] TDengine service READY to process requests") logger.info("[] TDengine service READY to process requests")
return # now we've started return # now we've started
# TODO: handle this better? # TODO: handle this better?
self.procIpcBatch(20, True) # display output before cronking out, trim to last 20 msgs, force output self.procIpcBatch(100, True) # display output before cronking out, trim to last 20 msgs, force output
raise RuntimeError("TDengine service did not start successfully") raise RuntimeError("TDengine service did not start successfully")
def stop(self): def stop(self):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册