mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-09-29 13:03:50 +02:00
Use runtime.GOMAXPROCS to calc default concurrency
This commit is contained in:
@@ -203,7 +203,7 @@ func Reset() {
|
||||
KeepAliveTimeout = 10
|
||||
ClientKeepAliveTimeout = 90
|
||||
DownloadTimeout = 5
|
||||
Concurrency = runtime.NumCPU() * 2
|
||||
Concurrency = runtime.GOMAXPROCS(0) * 2
|
||||
RequestsQueueSize = 0
|
||||
MaxClients = 2048
|
||||
|
||||
|
Reference in New Issue
Block a user