From 1727f4f1be2ad2cd8a6fc3dd19804b8072ca3f8b Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sun, 20 Aug 2023 12:26:38 +0100 Subject: Use less database read threads As I'm not sure that having so many read threads is helpful. --- guix-build-coordinator/datastore/sqlite.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'guix-build-coordinator') diff --git a/guix-build-coordinator/datastore/sqlite.scm b/guix-build-coordinator/datastore/sqlite.scm index 054ad96..cc15b38 100644 --- a/guix-build-coordinator/datastore/sqlite.scm +++ b/guix-build-coordinator/datastore/sqlite.scm @@ -236,11 +236,11 @@ CREATE TABLE IF NOT EXISTS mem.build_allocation_plan ( #:lifetime 50000 #:expire-on-exception? #t - ;; Use a minimum of 2 and a maximum of 8 threads + ;; Use a minimum of 8 and a maximum of 16 threads #:parallelism (min (max (current-processor-count) - 2) - 32) + 8) + 16) #:delay-logger (let ((delay-metric (make-histogram-metric metrics-registry -- cgit v1.2.3