Browse Source

reduce to default http server KillTimeout and StopTimeout

pull/2670/head
Konstantin Lebedev 3 years ago
parent
commit
275e9a4e86
  1. 4
      weed/command/volume.go

4
weed/command/volume.go

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

Loading…
Cancel
Save