mirror of
https://github.com/minio/minio.git
synced 2024-12-25 06:35:56 -05:00
enable SO_REUSEPORT sockets, allow cleaner reuse of time_waits (#13307)
Refer here https://lwn.net/Articles/542629/
This commit is contained in:
parent
68a2d6fc40
commit
3c70eca758
@ -27,11 +27,12 @@ import (
|
||||
)
|
||||
|
||||
var cfg = &tcplisten.Config{
|
||||
ReusePort: true,
|
||||
DeferAccept: true,
|
||||
FastOpen: true,
|
||||
// Bump up the soMaxConn value from 128 to 4096 to
|
||||
// Bump up the soMaxConn value from 128 to 65535 to
|
||||
// handle large incoming concurrent requests.
|
||||
Backlog: 4096,
|
||||
Backlog: 65535,
|
||||
}
|
||||
|
||||
// Unix listener with special TCP options.
|
||||
|
Loading…
Reference in New Issue
Block a user