feat(library): automatically fetch remote data if not available

This commit is contained in:
DecDuck
2024-11-26 20:11:03 +11:00
parent 99c8b39a11
commit 2dedfbbd5c
4 changed files with 50 additions and 6 deletions

View File

@ -212,7 +212,7 @@ impl GameDownloadAgent {
}
pub fn run(&self) -> Result<(), ()> {
const DOWNLOAD_MAX_THREADS: usize = 4;
const DOWNLOAD_MAX_THREADS: usize = 1;
let pool = ThreadPoolBuilder::new()
.num_threads(DOWNLOAD_MAX_THREADS)