refactor buffer pool

This commit is contained in:
Chris Lu
2021-04-01 02:20:00 -07:00
parent b5880334fc
commit 1f984d2645
3 changed files with 26 additions and 4 deletions

View File

@@ -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,
})