lib/config: Use correct var in MaxConcurrentIncomingRequestKiB() (#7121)

This commit is contained in:
Simon Frei 2020-11-16 16:51:51 +01:00 committed by GitHub
parent 1491898fd4
commit e8fc465ea8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}