mirror of
https://github.com/syncthing/syncthing.git
synced 2026-10-27 21:48:27 -04:00
lib/config: Use correct var in MaxConcurrentIncomingRequestKiB() (#7121)
This commit is contained in:
1 parent
1491898fd4
commit
e8fc465ea8
1 file changed
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user