Skip to content

Commit

Permalink
Setting thread limit is now public
Browse files Browse the repository at this point in the history
  • Loading branch information
eytans committed Jul 15, 2024
1 parent 370ff6d commit 7693035
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,8 @@ impl ParallelBackoffScheduler {
}
}

fn with_thread_limit(mut self, thread_limit: usize) -> Self {
/// Set the amount of threads to use during search
pub fn with_thread_limit(mut self, thread_limit: usize) -> Self {
self.thread_limit = thread_limit;
self
}
Expand Down

0 comments on commit 7693035

Please sign in to comment.