mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-12-23 09:18:55 +00:00
fix condition for parallel download
This commit is contained in:
parent
566961c7a5
commit
0da87e75fe
@ -1155,7 +1155,7 @@ int FdEntity::Load(off_t start, size_t size)
|
|||||||
size_t over_size = (*iter)->bytes - need_load_size;
|
size_t over_size = (*iter)->bytes - need_load_size;
|
||||||
|
|
||||||
// download
|
// download
|
||||||
if(static_cast<size_t>(2 * S3fsCurl::GetMultipartSize()) < need_load_size && !nomultipart){ // default 20MB
|
if(static_cast<size_t>(2 * S3fsCurl::GetMultipartSize()) <= need_load_size && !nomultipart){ // default 20MB
|
||||||
// parallel request
|
// parallel request
|
||||||
// Additional time is needed for large files
|
// Additional time is needed for large files
|
||||||
time_t backup = 0;
|
time_t backup = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user