Browse Source

StopTimeout 30 sec

pull/2670/head
Konstantin Lebedev 3 years ago
parent
commit
526094d2da
  1. 2
      weed/command/volume.go

2
weed/command/volume.go

@ -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)

Loading…
Cancel
Save