Increase maximum message size to 16MB (#2109)
This commit is contained in:
parent
a5c5de860b
commit
49a618dfe2
|
@ -33,6 +33,7 @@ func Prepare(cfg *config.JetStream) (nats.JetStreamContext, sarama.Consumer, sar
|
||||||
StoreDir: string(cfg.StoragePath),
|
StoreDir: string(cfg.StoragePath),
|
||||||
NoSystemAccount: true,
|
NoSystemAccount: true,
|
||||||
AllowNewAccounts: false,
|
AllowNewAccounts: false,
|
||||||
|
MaxPayload: 16 * 1024 * 1024,
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
|
|
Loading…
Reference in a new issue