mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-20 05:13:58 +00:00
[core] Use dynamic chunk size for downloading maps
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
committed by
Konstantin Pastbin
parent
dee47e7a66
commit
1becd3e0ba
@@ -59,7 +59,7 @@ public:
|
||||
std::string const & filePath, int64_t fileSize,
|
||||
Callback && onFinish,
|
||||
Callback && onProgress = Callback(),
|
||||
int64_t chunkSize = 512 * 1024,
|
||||
int64_t chunkSize = 0, // 0 for auto
|
||||
bool doCleanOnCancel = true);
|
||||
};
|
||||
} // namespace downloader
|
||||
|
||||
Reference in New Issue
Block a user