Don't log consumer errors on shutdown

This commit is contained in:
Neil Alexander 2022-05-05 13:29:39 +01:00
parent 506de4bb3d
commit 530fd488a9
No known key found for this signature in database
GPG Key ID: A02A2019A2BB0944

View File

@ -202,7 +202,7 @@ func (w *worker) _next() {
return
}
case context.DeadlineExceeded:
case context.DeadlineExceeded, context.Canceled:
// The context exceeded, so we've been waiting for more than a
// minute for activity in this room. At this point we will shut
// down the subscriber to free up resources. It'll get started