[server] Increase maximum number of concurrent connections to 16k
This commit is contained in:
parent
df39c5c976
commit
d63f92a6c3
2 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ func main () () {
|
||||||
NoDefaultDate : true,
|
NoDefaultDate : true,
|
||||||
DisableHeaderNamesNormalizing : true,
|
DisableHeaderNamesNormalizing : true,
|
||||||
|
|
||||||
Concurrency : 4 * 1024 + 128,
|
Concurrency : 16 * 1024 + 128,
|
||||||
MaxRequestsPerConn : 256 * 1024,
|
MaxRequestsPerConn : 256 * 1024,
|
||||||
|
|
||||||
ReadBufferSize : 16 * 1024,
|
ReadBufferSize : 16 * 1024,
|
||||||
|
|
|
@ -1004,7 +1004,7 @@ func main_0 () (error) {
|
||||||
NoDefaultDate : true,
|
NoDefaultDate : true,
|
||||||
DisableHeaderNamesNormalizing : true,
|
DisableHeaderNamesNormalizing : true,
|
||||||
|
|
||||||
Concurrency : 4 * 1024 + 128,
|
Concurrency : 16 * 1024 + 128,
|
||||||
MaxRequestsPerConn : 256 * 1024,
|
MaxRequestsPerConn : 256 * 1024,
|
||||||
|
|
||||||
ReadBufferSize : 16 * 1024,
|
ReadBufferSize : 16 * 1024,
|
||||||
|
|
Loading…
Reference in a new issue