aboutsummaryrefslogtreecommitdiff
path: root/roomserver
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2022-05-05 13:29:39 +0100
committerNeil Alexander <neilalexander@users.noreply.github.com>2022-05-05 13:29:39 +0100
commit530fd488a91dd1644799920328a12810b70b1b49 (patch)
treee14ab13838361c0a6ef5c875e1e651020674194f /roomserver
parent506de4bb3d69fef27e60d09d06712a72e588a198 (diff)
Don't log consumer errors on shutdown
Diffstat (limited to 'roomserver')
-rw-r--r--roomserver/internal/input/input.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/roomserver/internal/input/input.go b/roomserver/internal/input/input.go
index 1fea6ef0..10c21022 100644
--- a/roomserver/internal/input/input.go
+++ b/roomserver/internal/input/input.go
@@ -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