From 2191c7dee5c7b84836fbcebace271c31dbd4596a Mon Sep 17 00:00:00 2001 From: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com> Date: Mon, 11 Dec 2023 12:05:54 +0000 Subject: [PATCH] [bugfix] ensure the 'Closing' flag doesn't get cached (#2443) --- internal/cache/gts.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/internal/cache/gts.go b/internal/cache/gts.go index c19d96444..339605354 100644 --- a/internal/cache/gts.go +++ b/internal/cache/gts.go @@ -824,6 +824,11 @@ func (c *GTSCaches) initPoll() { // See internal/db/bundb/poll.go. p2.Status = nil + // Don't include ephemeral fields + // which are only expected to be + // set on ONE poll instance. + p2.Closing = false + return p2 }