multi: add debug logs to catch slow shutdown
This commit is contained in:
1 parent
ba007d9373
commit
66b8700c0b
24 files changed
+59
-23
No files matched your search
@@ -203,7 +203,8 @@ func (c *ChannelEventStore) Start() error {
|
||||
|
||||
// Stop terminates all goroutines started by the event store.
|
||||
func (c *ChannelEventStore) Stop() {
|
||||
log.Info("Stopping event store")
|
||||
log.Info("ChannelEventStore shutting down...")
|
||||
defer log.Debug("ChannelEventStore shutdown complete")
|
||||
|
||||
// Stop the consume goroutine.
|
||||
close(c.quit)
|
||||
|
||||
Reference in new issue
Block a user