diff options
author | Christopher Baines <mail@cbaines.net> | 2023-08-20 12:26:38 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2023-08-20 12:26:38 +0100 |
commit | 1727f4f1be2ad2cd8a6fc3dd19804b8072ca3f8b (patch) | |
tree | 42dfad6d4fdfdf7ed1e8473a1290a850e9553261 /guix-build-coordinator | |
parent | 43fea7856dc1673981714a0b6dee8fd3adcf0813 (diff) | |
download | build-coordinator-1727f4f1be2ad2cd8a6fc3dd19804b8072ca3f8b.tar build-coordinator-1727f4f1be2ad2cd8a6fc3dd19804b8072ca3f8b.tar.gz |
Use less database read threads
As I'm not sure that having so many read threads is helpful.
Diffstat (limited to 'guix-build-coordinator')
-rw-r--r-- | guix-build-coordinator/datastore/sqlite.scm | 6 |
1 files changed, 3 insertions, 3 deletions
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 |