From 76930358064b462e1dc81d7eb64f7bebb00ce930 Mon Sep 17 00:00:00 2001 From: Eytan Singher Date: Mon, 15 Jul 2024 22:58:46 +0300 Subject: [PATCH] Setting thread limit is now public --- src/run.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/run.rs b/src/run.rs index d403c244..23d70c81 100644 --- a/src/run.rs +++ b/src/run.rs @@ -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 }