mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-22 22:58:25 +00:00
lib/config: Use correct var in MaxConcurrentIncomingRequestKiB() (#7121)
This commit is contained in:
parent
1491898fd4
commit
e8fc465ea8
@ -127,7 +127,7 @@ func (opts OptionsConfiguration) MaxConcurrentIncomingRequestKiB() int {
|
||||
return 0
|
||||
}
|
||||
|
||||
if opts.RawMaxFolderConcurrency == 0 {
|
||||
if opts.RawMaxCIRequestKiB == 0 {
|
||||
// The default is 256 MiB
|
||||
return 256 * 1024 // KiB
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user