Increate NATS AckWait to 5 secs
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
e5e025abde
commit
609fdfb31a
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue