Showing the changes to git-features/src (1 of 4 files). Show all
Unified · Split
| @@ -122,7 +122,7 @@ pub fn optimize_chunk_size_and_thread_limit( · 121 unmodified lines | |||
| 122 | .map(|l| if l == 0 { available_threads } else { l }) | 122 | .map(|l| if l == 0 { available_threads } else { l }) |
| 123 | .unwrap_or(available_threads); | 123 | .unwrap_or(available_threads); |
| 124 | 124 | ||
| 125 | let (lower, upper) = (50, 500); | 125 | let (lower, upper) = (50, 1000); |
| 126 | let (chunk_size, thread_limit) = num_items | 126 | let (chunk_size, thread_limit) = num_items |
| 127 | .map(|num_items| { | 127 | .map(|num_items| { |
| 128 | let desired_chunks_per_thread_at_least = 2; | 128 | let desired_chunks_per_thread_at_least = 2; |