Browse Source

Merge pull request #2670 from kmlebedev/httpDown

pull/2676/head
Chris Lu 3 years ago
committed by GitHub
parent
commit
31252ac027
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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: 30 * time.Second,
CertFile: certFile,
KeyFile: keyFile}
clusterHttpServer := httpDown.Serve(&http.Server{Handler: handler}, listener)

Loading…
Cancel
Save