From 530fd488a91dd1644799920328a12810b70b1b49 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Thu, 5 May 2022 13:29:39 +0100 Subject: [PATCH] Don't log consumer errors on shutdown --- roomserver/internal/input/input.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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