aboutsummaryrefslogtreecommitdiff
path: root/weed/command/server.go
diff options
context:
space:
mode:
authorARibster <caialjf@yahoo.com>2025-05-01 22:09:47 +0200
committerGitHub <noreply@github.com>2025-05-01 13:09:47 -0700
commitd424cbbcd5d284d7a1a6e2c671da29ca12a592c3 (patch)
treea95f2601a5c5e0c5e7f139e402ebce76e13fb244 /weed/command/server.go
parent71382d32798120acb42730f5bb4435ad4be8f9f5 (diff)
downloadseaweedfs-d424cbbcd5d284d7a1a6e2c671da29ca12a592c3.tar.xz
seaweedfs-d424cbbcd5d284d7a1a6e2c671da29ca12a592c3.zip
fix: S3 Feature: please add s3.idleTimeout command line parameter #6746 (#6747)
ildeTimeout command line parameter for s3
Diffstat (limited to 'weed/command/server.go')
-rw-r--r--weed/command/server.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/command/server.go b/weed/command/server.go
index 1532cdd90..797cde0dd 100644
--- a/weed/command/server.go
+++ b/weed/command/server.go
@@ -157,6 +157,7 @@ func init() {
s3Options.allowDeleteBucketNotEmpty = cmdServer.Flag.Bool("s3.allowDeleteBucketNotEmpty", true, "allow recursive deleting all entries along with bucket")
s3Options.localSocket = cmdServer.Flag.String("s3.localSocket", "", "default to /tmp/seaweedfs-s3-<port>.sock")
s3Options.bindIp = cmdServer.Flag.String("s3.ip.bind", "", "ip address to bind to. If empty, default to same as -ip.bind option.")
+ s3Options.idleTimeout = cmdServer.Flag.Int("s3.idleTimeout", 10, "connection idle seconds")
iamOptions.port = cmdServer.Flag.Int("iam.port", 8111, "iam server http listen port")