filer: change to saveToFilerLimit from cacheToFilerLimit

short circuit saving small files to volume server
This commit is contained in:
Chris Lu
2021-01-10 23:14:46 -08:00
parent f0d3b3bf93
commit 1efb51ba84
4 changed files with 35 additions and 33 deletions

View File

@@ -46,18 +46,18 @@ type FilerOption struct {
Collection string
DefaultReplication string
DisableDirListing bool
MaxMB int
DirListingLimit int
DataCenter string
Rack string
DefaultLevelDbDir string
DisableHttp bool
Host string
Port uint32
recursiveDelete bool
Cipher bool
CacheToFilerLimit int64
Filers []string
MaxMB int
DirListingLimit int
DataCenter string
Rack string
DefaultLevelDbDir string
DisableHttp bool
Host string
Port uint32
recursiveDelete bool
Cipher bool
SaveToFilerLimit int
Filers []string
}
type FilerServer struct {