mirror of
https://github.com/rclone/rclone.git
synced 2024-12-23 15:38:57 +01:00
This commit is contained in:
parent
a492c0fb0e
commit
132ce94139
@ -1917,7 +1917,7 @@ func (f *Fs) getMemoryPool(size int64) *pool.Pool {
|
|||||||
if !ok {
|
if !ok {
|
||||||
f.pools[size] = pool.New(
|
f.pools[size] = pool.New(
|
||||||
time.Duration(f.opt.MemoryPoolFlushTime),
|
time.Duration(f.opt.MemoryPoolFlushTime),
|
||||||
int(f.opt.ChunkSize),
|
int(size),
|
||||||
f.opt.UploadConcurrency*fs.Config.Transfers,
|
f.opt.UploadConcurrency*fs.Config.Transfers,
|
||||||
f.opt.MemoryPoolUseMmap,
|
f.opt.MemoryPoolUseMmap,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user