Increate NATS AckWait to 5 secs
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Søren Rasmussen 2022-07-29 23:30:49 +02:00
parent e5e025abde
commit 609fdfb31a

View file

@ -92,7 +92,7 @@ func publish(subject string, js nats.JetStream, hub *sentry.Hub, reading any) er
return err
}
_, err = js.Publish(subject, b, nats.AckWait(1*time.Second))
_, err = js.Publish(subject, b, nats.AckWait(5*time.Second))
if err != nil {
hub.CaptureException(err)
log.Print(err)