mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-27 07:28:27 +00:00
Increase maximum message size to 16MB (#2109)
This commit is contained in:
parent
a5c5de860b
commit
49a618dfe2
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ func Prepare(cfg *config.JetStream) (nats.JetStreamContext, sarama.Consumer, sar
|
|||
StoreDir: string(cfg.StoragePath),
|
||||
NoSystemAccount: true,
|
||||
AllowNewAccounts: false,
|
||||
MaxPayload: 16 * 1024 * 1024,
|
||||
})
|
||||
if err != nil {
|
||||
panic(err)
|
||||
|
|
Loading…
Reference in a new issue