diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-09-26 22:34:14 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-09-26 22:34:14 -0700 |
| commit | 4a1d4d7462334088ea979c01ae42563eefb0b9f1 (patch) | |
| tree | 8dbc9e415b9e8ef97469cfdc7e92d39956e8a27b /weed/command/s3.go | |
| parent | cee4d20bc118e5ea38123e39fed29f362ff8af01 (diff) | |
| download | seaweedfs-4a1d4d7462334088ea979c01ae42563eefb0b9f1.tar.xz seaweedfs-4a1d4d7462334088ea979c01ae42563eefb0b9f1.zip | |
s3: default to allow empty folder for better performance
Diffstat (limited to 'weed/command/s3.go')
| -rw-r--r-- | weed/command/s3.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/s3.go b/weed/command/s3.go index f2c6c0769..e9f4ea885 100644 --- a/weed/command/s3.go +++ b/weed/command/s3.go @@ -42,7 +42,7 @@ func init() { s3StandaloneOptions.tlsPrivateKey = cmdS3.Flag.String("key.file", "", "path to the TLS private key file") s3StandaloneOptions.tlsCertificate = cmdS3.Flag.String("cert.file", "", "path to the TLS certificate file") s3StandaloneOptions.metricsHttpPort = cmdS3.Flag.Int("metricsPort", 0, "Prometheus metrics listen port") - s3StandaloneOptions.allowEmptyFolder = cmdS3.Flag.Bool("allowEmptyFolder", false, "allow empty folders") + s3StandaloneOptions.allowEmptyFolder = cmdS3.Flag.Bool("allowEmptyFolder", true, "allow empty folders") } var cmdS3 = &Command{ |
