aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2022-02-14 10:06:34 -0800
committerGitHub <noreply@github.com>2022-02-14 10:06:34 -0800
commit31252ac02782f8fbb46c52797391a4f54469265e (patch)
treeee7ff625c70fff04ca4b51224720d9d12af9d456
parentff666104c45acb38f3e9deb60702885fe3491fe3 (diff)
parent526094d2dad38b78b8d5d2c7e13a7e24d1bef138 (diff)
downloadseaweedfs-31252ac02782f8fbb46c52797391a4f54469265e.tar.xz
seaweedfs-31252ac02782f8fbb46c52797391a4f54469265e.zip
Merge pull request #2670 from kmlebedev/httpDown
-rw-r--r--weed/command/volume.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/command/volume.go b/weed/command/volume.go
index 5b9d94b9a..20935bf16 100644
--- a/weed/command/volume.go
+++ b/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)