diff options
| author | Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.com> | 2022-02-14 21:42:27 +0500 |
|---|---|---|
| committer | Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.com> | 2022-02-14 21:42:27 +0500 |
| commit | 526094d2dad38b78b8d5d2c7e13a7e24d1bef138 (patch) | |
| tree | ee7ff625c70fff04ca4b51224720d9d12af9d456 /weed/command/volume.go | |
| parent | 275e9a4e86448e584481ea525b6ee29538165b2b (diff) | |
| download | seaweedfs-526094d2dad38b78b8d5d2c7e13a7e24d1bef138.tar.xz seaweedfs-526094d2dad38b78b8d5d2c7e13a7e24d1bef138.zip | |
StopTimeout 30 sec
Diffstat (limited to 'weed/command/volume.go')
| -rw-r--r-- | weed/command/volume.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/volume.go b/weed/command/volume.go index 3a81bce18..20935bf16 100644 --- a/weed/command/volume.go +++ b/weed/command/volume.go @@ -365,7 +365,7 @@ func (v VolumeServerOptions) startClusterHttpService(handler http.Handler) httpd httpDown := httpdown.HTTP{ KillTimeout: time.Minute, - StopTimeout: time.Minute, + StopTimeout: 30 * time.Second, CertFile: certFile, KeyFile: keyFile} clusterHttpServer := httpDown.Serve(&http.Server{Handler: handler}, listener) |
