diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-01-10 23:14:46 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-01-10 23:14:46 -0800 |
| commit | 1efb51ba843d809df5617cf9c1c288b7af5d10d4 (patch) | |
| tree | 4a109bb66f9ea0fde40dca1d0a82b171d044a028 /weed/command/server.go | |
| parent | f0d3b3bf9397fe5bfb64fd0d46c40055a950d9cf (diff) | |
| download | seaweedfs-1efb51ba843d809df5617cf9c1c288b7af5d10d4.tar.xz seaweedfs-1efb51ba843d809df5617cf9c1c288b7af5d10d4.zip | |
filer: change to saveToFilerLimit from cacheToFilerLimit
short circuit saving small files to volume server
Diffstat (limited to 'weed/command/server.go')
| -rw-r--r-- | weed/command/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/server.go b/weed/command/server.go index 187563db1..9976db2ea 100644 --- a/weed/command/server.go +++ b/weed/command/server.go @@ -95,7 +95,7 @@ func init() { filerOptions.dirListingLimit = cmdServer.Flag.Int("filer.dirListLimit", 1000, "limit sub dir listing size") filerOptions.cipher = cmdServer.Flag.Bool("filer.encryptVolumeData", false, "encrypt data on volume servers") filerOptions.peers = cmdServer.Flag.String("filer.peers", "", "all filers sharing the same filer store in comma separated ip:port list") - filerOptions.cacheToFilerLimit = cmdServer.Flag.Int("filer.cacheToFilerLimit", 0, "Small files smaller than this limit can be cached in filer store.") + filerOptions.saveToFilerLimit = cmdServer.Flag.Int("filer.saveToFilerLimit", 0, "Small files smaller than this limit can be cached in filer store.") serverOptions.v.port = cmdServer.Flag.Int("volume.port", 8080, "volume server http listen port") serverOptions.v.publicPort = cmdServer.Flag.Int("volume.port.public", 0, "volume server public port") |
