Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

StopTimeout 30 sec

Konstantin Lebedev526094d2dad3
diff --git a/weed/command/volume.go b/weed/command/volume.go
index 3a81bce187..20935bf16a 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)