1
0
Эх сурвалжийг харах

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

Simon Frei 5 жил өмнө
parent
commit
e8fc465ea8

+ 1 - 1
lib/config/optionsconfiguration.go

@@ -127,7 +127,7 @@ func (opts OptionsConfiguration) MaxConcurrentIncomingRequestKiB() int {
 		return 0
 		return 0
 	}
 	}
 
 
-	if opts.RawMaxFolderConcurrency == 0 {
+	if opts.RawMaxCIRequestKiB == 0 {
 		// The default is 256 MiB
 		// The default is 256 MiB
 		return 256 * 1024 // KiB
 		return 256 * 1024 // KiB
 	}
 	}