Skip to content

Commit

Permalink
Use sync always for built-in JetStream
Browse files Browse the repository at this point in the history
Signed-off-by: Neil Alexander <[email protected]>
  • Loading branch information
neilalexander committed Sep 10, 2024
1 parent 70af102 commit 2459fd2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setup/jetstream/nats.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ func (s *NATSInstance) Prepare(process *process.ProcessContext, cfg *config.JetS
MaxPayload: 16 * 1024 * 1024,
NoSigs: true,
NoLog: cfg.NoLog,
SyncAlways: true,
}
s.Server, err = natsserver.NewServer(opts)
if err != nil {
Expand Down

0 comments on commit 2459fd2

Please sign in to comment.