mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-17 03:24:40 -07:00
Bump catchup flow control max outstanding bytes
Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
@@ -6273,7 +6273,7 @@ func (mset *stream) runCatchup(sendSubject string, sreq *streamSyncRequest) {
|
||||
s := mset.srv
|
||||
defer s.grWG.Done()
|
||||
|
||||
const maxOutBytes = int64(defaultMediumBlockSize) // 2MB for now.
|
||||
const maxOutBytes = int64(32 * 1024 * 1024) // 32MB for now, these are all internal, from server to server
|
||||
outb := int64(0)
|
||||
|
||||
// On abnormal exit make sure to update global total.
|
||||
|
||||
Reference in New Issue
Block a user