From 7e53a11e98e6a3f35c278422bd9cdca445b81d21 Mon Sep 17 00:00:00 2001 From: Andreas Palm Date: Sun, 3 Nov 2024 19:40:02 +0100 Subject: [PATCH] fix(jetstream): Only call NakWithDelay() once --- jetstream/jetstream.go | 1 + 1 file changed, 1 insertion(+) diff --git a/jetstream/jetstream.go b/jetstream/jetstream.go index 8e000dc..8778e37 100644 --- a/jetstream/jetstream.go +++ b/jetstream/jetstream.go @@ -112,5 +112,6 @@ func (e *responseAndEvent) NakWithDelay(delay time.Duration) error { if e.responseSent { return nil } + e.responseSent = true return e.m.NakWithDelay(delay) }