mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-08-24 02:57:54 +08:00
StopTimeout 30 sec
This commit is contained in:
parent
275e9a4e86
commit
526094d2da
@ -365,7 +365,7 @@ func (v VolumeServerOptions) startClusterHttpService(handler http.Handler) httpd
|
|||||||
|
|
||||||
httpDown := httpdown.HTTP{
|
httpDown := httpdown.HTTP{
|
||||||
KillTimeout: time.Minute,
|
KillTimeout: time.Minute,
|
||||||
StopTimeout: time.Minute,
|
StopTimeout: 30 * time.Second,
|
||||||
CertFile: certFile,
|
CertFile: certFile,
|
||||||
KeyFile: keyFile}
|
KeyFile: keyFile}
|
||||||
clusterHttpServer := httpDown.Serve(&http.Server{Handler: handler}, listener)
|
clusterHttpServer := httpDown.Serve(&http.Server{Handler: handler}, listener)
|
||||||
|
Loading…
Reference in New Issue
Block a user