diff --git a/weed/command/filer.go b/weed/command/filer.go index b90d88edc..d6e1852b1 100644 --- a/weed/command/filer.go +++ b/weed/command/filer.go @@ -47,7 +47,7 @@ func init() { f.redirectOnRead = cmdFiler.Flag.Bool("redirectOnRead", false, "whether proxy or redirect to volume server during file GET request") f.disableDirListing = cmdFiler.Flag.Bool("disableDirListing", false, "turn off directory listing") f.confFile = cmdFiler.Flag.String("confFile", "", "json encoded filer conf file") - f.maxMB = cmdFiler.Flag.Int("maxMB", 0, "split files larger than the limit") + f.maxMB = cmdFiler.Flag.Int("maxMB", 32, "split files larger than the limit") f.cassandra_server = cmdFiler.Flag.String("cassandra.server", "", "host[:port] of the cassandra server") f.cassandra_keyspace = cmdFiler.Flag.String("cassandra.keyspace", "seaweed", "keyspace of the cassandra server") f.redis_server = cmdFiler.Flag.String("redis.server", "", "host:port of the redis server, e.g., 127.0.0.1:6379") 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")