From eebb42e7a778eb21342fcd861e313bf21f0afc94 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Thu, 30 Jan 2025 09:57:14 +0100 Subject: [PATCH] Default to an resource-pool add-resources-parallelism of 1 So that there aren't issues with concurrent resource addition, at least by default. --- knots/resource-pool.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/knots/resource-pool.scm b/knots/resource-pool.scm index 355cfa9..6501191 100644 --- a/knots/resource-pool.scm +++ b/knots/resource-pool.scm @@ -87,7 +87,7 @@ scheduler (name "unnamed") (reply-timeout 0.5) - add-resources-parallelism) + (add-resources-parallelism 1)) (define channel (make-channel)) (define pool