diff options
author | 2023-12-11 12:05:54 +0000 | |
---|---|---|
committer | 2023-12-11 12:05:54 +0000 | |
commit | 2191c7dee5c7b84836fbcebace271c31dbd4596a (patch) | |
tree | ba0dce563dd62e2ded08e2332e7a51ce84755a9c /internal/cache | |
parent | [chore]: Bump github.com/KimMachineGun/automemlimit from 0.3.0 to 0.4.0 (#2440) (diff) | |
download | gotosocial-2191c7dee5c7b84836fbcebace271c31dbd4596a.tar.xz |
[bugfix] ensure the 'Closing' flag doesn't get cached (#2443)
Diffstat (limited to 'internal/cache')
-rw-r--r-- | internal/cache/gts.go | 5 |
1 files changed, 5 insertions, 0 deletions
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 } |