mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 20:50:22 +03:00
Increase the keep alive timeout to 30 secs (#6924)
Go by default uses a 3 * minute, we should atleast use 30 secs as 10 secs is too aggressive.
This commit is contained in:
committed by
Nitish Tiwari
parent
78a0fd951e
commit
3e124315c8
+1
-1
@@ -36,7 +36,7 @@ const (
|
||||
DefaultShutdownTimeout = 5 * time.Second
|
||||
|
||||
// DefaultTCPKeepAliveTimeout - default TCP keep alive timeout for accepted connection.
|
||||
DefaultTCPKeepAliveTimeout = 10 * time.Second
|
||||
DefaultTCPKeepAliveTimeout = 30 * time.Second
|
||||
|
||||
// DefaultReadTimeout - default timout to read data from accepted connection.
|
||||
DefaultReadTimeout = 5 * time.Minute
|
||||
|
||||
Reference in New Issue
Block a user