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

View File

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