aboutsummaryrefslogtreecommitdiff
path: root/weed/command/server.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2017-09-15 08:24:30 -0700
committerChris Lu <chris.lu@gmail.com>2017-09-15 08:24:30 -0700
commitef6224e45de7741477c78fb2843bcaff210773fc (patch)
tree22c393c8abdd68e400cd68c56dc89e9e46a12942 /weed/command/server.go
parente7e378c2115dbb7a3f4c76ceab8546a9f786c2ce (diff)
downloadseaweedfs-ef6224e45de7741477c78fb2843bcaff210773fc.tar.xz
seaweedfs-ef6224e45de7741477c78fb2843bcaff210773fc.zip
filer default to auto chunking file size to 32MB
Diffstat (limited to 'weed/command/server.go')
-rw-r--r--weed/command/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/server.go b/weed/command/server.go
index 2267d4382..622f5d447 100644
--- a/weed/command/server.go
+++ b/weed/command/server.go
@@ -93,7 +93,7 @@ func init() {
filerOptions.redirectOnRead = cmdServer.Flag.Bool("filer.redirectOnRead", false, "whether proxy or redirect to volume server during file GET request")
filerOptions.disableDirListing = cmdServer.Flag.Bool("filer.disableDirListing", false, "turn off directory listing")
filerOptions.confFile = cmdServer.Flag.String("filer.confFile", "", "json encoded filer conf file")
- filerOptions.maxMB = cmdServer.Flag.Int("filer.maxMB", 0, "split files larger than the limit")
+ filerOptions.maxMB = cmdServer.Flag.Int("filer.maxMB", 32, "split files larger than the limit")
filerOptions.cassandra_server = cmdServer.Flag.String("filer.cassandra.server", "", "host[:port] of the cassandra server")
filerOptions.cassandra_keyspace = cmdServer.Flag.String("filer.cassandra.keyspace", "seaweed", "keyspace of the cassandra server")
filerOptions.redis_server = cmdServer.Flag.String("filer.redis.server", "", "host:port of the redis server, e.g., 127.0.0.1:6379")