mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user