reduce to default http server KillTimeout and StopTimeout
This commit is contained in:
@@ -364,8 +364,8 @@ func (v VolumeServerOptions) startClusterHttpService(handler http.Handler) httpd
|
|||||||
}
|
}
|
||||||
|
|
||||||
httpDown := httpdown.HTTP{
|
httpDown := httpdown.HTTP{
|
||||||
KillTimeout: 5 * time.Minute,
|
KillTimeout: time.Minute,
|
||||||
StopTimeout: 5 * time.Minute,
|
StopTimeout: time.Minute,
|
||||||
CertFile: certFile,
|
CertFile: certFile,
|
||||||
KeyFile: keyFile}
|
KeyFile: keyFile}
|
||||||
clusterHttpServer := httpDown.Serve(&http.Server{Handler: handler}, listener)
|
clusterHttpServer := httpDown.Serve(&http.Server{Handler: handler}, listener)
|
||||||
|
|||||||
Reference in New Issue
Block a user