mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2025-11-15 01:01:25 +10:00
Queue is running game downloads sequentially now
This commit is contained in:
@ -13,7 +13,7 @@ fn test_progress_sequentially() {
|
||||
fn test_progress_parallel() {
|
||||
let counter = Arc::new(AtomicUsize::new(0));
|
||||
let p = ProgressChecker::new(Box::new(test_fn), counter.clone());
|
||||
p.run_contexts_parallel((1..100).collect(), 10);
|
||||
p.run_contexts_parallel_background((1..100).collect(), 10);
|
||||
}
|
||||
|
||||
fn test_fn(int: usize) {
|
||||
|
||||
Reference in New Issue
Block a user