0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-14 10:33:51 +01:00

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