aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@uber.com>2021-04-01 02:20:00 -0700
committerChris Lu <chris.lu@uber.com>2021-04-01 02:20:00 -0700
commit1f984d26453bc97c95a8aa51e69d05ac74942685 (patch)
treeae5578554257d16edab838750cf36f2af329a835 /weed/command/filer.go
parentb5880334fce31d1c4d728b2ca5c5141ef11b908a (diff)
downloadseaweedfs-1f984d26453bc97c95a8aa51e69d05ac74942685.tar.xz
seaweedfs-1f984d26453bc97c95a8aa51e69d05ac74942685.zip
refactor buffer pool
Diffstat (limited to 'weed/command/filer.go')
-rw-r--r--weed/command/filer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/filer.go b/weed/command/filer.go
index 82994b971..e9e3237df 100644
--- a/weed/command/filer.go
+++ b/weed/command/filer.go
@@ -174,7 +174,7 @@ func (fo *FilerOptions) startFiler() {
Host: *fo.ip,
Port: uint32(*fo.port),
Cipher: *fo.cipher,
- SaveToFilerLimit: *fo.saveToFilerLimit,
+ SaveToFilerLimit: int64(*fo.saveToFilerLimit),
Filers: peers,
ConcurrentUploadLimit: int64(*fo.concurrentUploadLimitMB) * 1024 * 1024,
})