Commit 016925ef authored by Shane Kerr's avatar Shane Kerr
Browse files

[2608] Kill msgq if we cannot connect to it on startup

When the boss process was unable to connect to the msgq, it would
exit. However, it would leave the msgq process running. This patch
fixes that by killing the msgq if it is running in this case.
parent c4df99ea
......@@ -491,6 +491,8 @@ class BoB:
# if we have been trying for "a while" give up
if (time.time() - cc_connect_start) > self.msgq_timeout:
if msgq_proc.process:
raise CChannelConnectError("Unable to connect to c-channel after 5 seconds")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment