1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-07-04 16:16:58 +02:00

StopTimeout 30 sec

This commit is contained in:
Konstantin Lebedev 2022-02-14 21:42:27 +05:00
parent 275e9a4e86
commit 526094d2da

View file

@ -365,7 +365,7 @@ func (v VolumeServerOptions) startClusterHttpService(handler http.Handler) httpd
httpDown := httpdown.HTTP{
KillTimeout: time.Minute,
StopTimeout: time.Minute,
StopTimeout: 30 * time.Second,
CertFile: certFile,
KeyFile: keyFile}
clusterHttpServer := httpDown.Serve(&http.Server{Handler: handler}, listener)