From 4740fa7bb1544d8045de11fd3facafb8baec7f72 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Fri, 13 May 2022 22:00:51 +0100 Subject: [PATCH] Only set constant variable when needed with parallel feature --- lib/src/cnf/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/cnf/mod.rs b/lib/src/cnf/mod.rs index d05304b0..c29d158c 100644 --- a/lib/src/cnf/mod.rs +++ b/lib/src/cnf/mod.rs @@ -1,4 +1,5 @@ // Specifies how many concurrent jobs can be buffered in the worker channel. +#[cfg(feature = "parallel")] pub const MAX_CONCURRENT_TASKS: usize = 64; // Specifies how many subqueries will be processed recursively before the query fails.