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:
Jakob Borg authored and Audrius Butkevicius committed 2018-04-17 07:55:49 +01:00
1 parent 7be53bbb88
commit dbcf7a02a0
1 file changed
+1 -1
+1 -1
View File
@@ -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
)