[server] Increase maximum number of concurrent connections to 16k

This commit is contained in:
Ciprian Dorin Craciun 2019-08-13 10:41:48 +03:00
parent df39c5c976
commit d63f92a6c3
2 changed files with 2 additions and 2 deletions

View file

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

View file

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