aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
authorKonstantin Lebedev <9497591+kmlebedev@users.noreply.github.com>2022-02-14 21:38:24 +0500
committerKonstantin Lebedev <9497591+kmlebedev@users.noreply.github.com>2022-02-14 21:38:24 +0500
commit275e9a4e86448e584481ea525b6ee29538165b2b (patch)
treefd063f36068db751315579fec0497beb07827c3b /weed/command
parentff666104c45acb38f3e9deb60702885fe3491fe3 (diff)
downloadseaweedfs-275e9a4e86448e584481ea525b6ee29538165b2b.tar.xz
seaweedfs-275e9a4e86448e584481ea525b6ee29538165b2b.zip
reduce to default http server KillTimeout and StopTimeout
Diffstat (limited to 'weed/command')
-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..3a81bce18 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: time.Minute,
CertFile: certFile,
KeyFile: keyFile}
clusterHttpServer := httpDown.Serve(&http.Server{Handler: handler}, listener)