mirror of
https://github.com/minio/minio.git
synced 2025-01-24 05:03:16 -05:00
server: fix to have readable timeout value (#1823)
This commit is contained in:
parent
614c770b5d
commit
116b5607d7
@ -82,8 +82,8 @@ func configureServer(srvCmdConfig serverCmdConfig) *http.Server {
|
||||
apiServer := &http.Server{
|
||||
Addr: srvCmdConfig.serverAddr,
|
||||
// Adding timeout of 10 minutes for unresponsive client connections.
|
||||
ReadTimeout: 600 * time.Second,
|
||||
WriteTimeout: 600 * time.Second,
|
||||
ReadTimeout: 10 * time.Minute,
|
||||
WriteTimeout: 10 * time.Minute,
|
||||
Handler: configureServerHandler(srvCmdConfig),
|
||||
MaxHeaderBytes: 1 << 20,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user