Don't log consumer errors on shutdown
This commit is contained in:
parent
506de4bb3d
commit
530fd488a9
|
@ -202,7 +202,7 @@ func (w *worker) _next() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
case context.DeadlineExceeded:
|
case context.DeadlineExceeded, context.Canceled:
|
||||||
// The context exceeded, so we've been waiting for more than a
|
// The context exceeded, so we've been waiting for more than a
|
||||||
// minute for activity in this room. At this point we will shut
|
// minute for activity in this room. At this point we will shut
|
||||||
// down the subscriber to free up resources. It'll get started
|
// down the subscriber to free up resources. It'll get started
|
||||||
|
|
Loading…
Reference in a new issue