Commit 088143a4 authored by Jeromy's avatar Jeromy

making the daemon shutdown quicker

License: MIT
Signed-off-by: default avatarJeromy <jeromyj@gmail.com>
parent 18c0cefd
......@@ -140,6 +140,8 @@ func (mq *msgQueue) runQueue(ctx context.Context) {
mq.doWork(ctx)
case <-mq.done:
return
case <-ctx.Done():
return
}
}
}
......
Markdown is supported
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