We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a188e27 commit 06c0f60Copy full SHA for 06c0f60
1 file changed
src-tauri/games/src/downloads/download_agent.rs
@@ -299,7 +299,7 @@ impl GameDownloadAgent {
299
info!("started with {} existing chunks", completed_chunks.len());
300
let chunk_len = manifests_chunks.iter().map(|v| v.1.len()).sum::<usize>();
301
let mut max_download_threads = borrow_db_checked().settings.max_download_threads;
302
- if max_download_threads <= 0 {
+ if max_download_threads == 0 {
303
max_download_threads = 1;
304
}
305
0 commit comments