aboutsummaryrefslogtreecommitdiff
path: root/weed/command/volume.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-02-14 13:48:51 -0800
committerchrislu <chris.lu@gmail.com>2022-02-14 13:48:51 -0800
commit377bf31445df7b15f415f24961af95cd3ef10be7 (patch)
treef38e74cdf9dd63d8371946a756efaa20e1129d68 /weed/command/volume.go
parente8420aaed73a4a104d233bcb07b4a9eeefd60345 (diff)
parentd3ee621fceff0fca99d2b9b773bb2d6a8c39ab9e (diff)
downloadseaweedfs-377bf31445df7b15f415f24961af95cd3ef10be7.tar.xz
seaweedfs-377bf31445df7b15f415f24961af95cd3ef10be7.zip
Merge branch 'master' of https://github.com/chrislusf/seaweedfs
Diffstat (limited to 'weed/command/volume.go')
-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)