Merge pull request #2670 from kmlebedev/httpDown

This commit is contained in:
Chris Lu 2022-02-14 10:06:34 -08:00 committed by GitHub
commit 31252ac027
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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