[core] Use dynamic chunk size for downloading maps

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
Konstantin Pastbin
2025-07-02 21:18:29 +07:00
committed by Konstantin Pastbin
parent dee47e7a66
commit 1becd3e0ba
4 changed files with 31 additions and 12 deletions

View File

@@ -171,7 +171,7 @@ extern "C"
curFile.GetRemoteSize(),
std::bind(&DownloadFileFinished, ptr, _1),
std::bind(&DownloadFileProgress, ptr, _1),
512 * 1024, false));
0, false));
});
return ERR_FILE_IN_PROGRESS;