diff options
| author | Chris Lu <chris.lu@uber.com> | 2021-04-01 02:20:00 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@uber.com> | 2021-04-01 02:20:00 -0700 |
| commit | 1f984d26453bc97c95a8aa51e69d05ac74942685 (patch) | |
| tree | ae5578554257d16edab838750cf36f2af329a835 /weed/command | |
| parent | b5880334fce31d1c4d728b2ca5c5141ef11b908a (diff) | |
| download | seaweedfs-1f984d26453bc97c95a8aa51e69d05ac74942685.tar.xz seaweedfs-1f984d26453bc97c95a8aa51e69d05ac74942685.zip | |
refactor buffer pool
Diffstat (limited to 'weed/command')
| -rw-r--r-- | weed/command/filer.go | 2 |
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, }) |
