mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-22 22:58:25 +00:00
lib/model: Increase the default pull limit (fixes #4883)
Bumping the limit to 2 * the max block size (16 MiB) is a slight increase compared to previously. Nonetheless I think it's good to allow us to queue one request and have one on the way in, or conversely have one large block on the way in and be able to ask for smaller blocks from others at the same time.
This commit is contained in:
parent
7be53bbb88
commit
dbcf7a02a0
@ -81,7 +81,7 @@ const (
|
||||
const (
|
||||
defaultCopiers = 2
|
||||
defaultPullerPause = 60 * time.Second
|
||||
defaultPullerPendingKiB = 8192 // must be larger than block size
|
||||
defaultPullerPendingKiB = 2 * protocol.MaxBlockSize
|
||||
|
||||
maxPullerIterations = 3
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user