mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-06 14:33:10 -06:00
Use sync always for built-in JetStream
Signed-off-by: Neil Alexander <git@neilalexander.dev>
This commit is contained in:
parent
70af102042
commit
2459fd2b79
|
|
@ -56,6 +56,7 @@ func (s *NATSInstance) Prepare(process *process.ProcessContext, cfg *config.JetS
|
||||||
MaxPayload: 16 * 1024 * 1024,
|
MaxPayload: 16 * 1024 * 1024,
|
||||||
NoSigs: true,
|
NoSigs: true,
|
||||||
NoLog: cfg.NoLog,
|
NoLog: cfg.NoLog,
|
||||||
|
SyncAlways: true,
|
||||||
}
|
}
|
||||||
s.Server, err = natsserver.NewServer(opts)
|
s.Server, err = natsserver.NewServer(opts)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue