aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2023-04-22 20:07:19 +0100
committerChristopher Baines <mail@cbaines.net>2023-04-22 20:07:19 +0100
commit64c03adb95008129d4b4cf9a84ada9ca2b235a69 (patch)
tree4cd04db37c2955f7e68da1483e5b183c7e029591
parent09c63449c7384035d45eb08a7cb633aa0f06523f (diff)
downloadbuild-coordinator-64c03adb95008129d4b4cf9a84ada9ca2b235a69.tar
build-coordinator-64c03adb95008129d4b4cf9a84ada9ca2b235a69.tar.gz
Drop the wal checkpointing attempts
In case this helps with performance.
-rw-r--r--guix-build-coordinator/datastore/sqlite.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/guix-build-coordinator/datastore/sqlite.scm b/guix-build-coordinator/datastore/sqlite.scm
index f19b87c..76e4c26 100644
--- a/guix-build-coordinator/datastore/sqlite.scm
+++ b/guix-build-coordinator/datastore/sqlite.scm
@@ -327,9 +327,9 @@ PRAGMA optimize;")
(retry-count 0))
(if result
#t
- (if (< retry-count 30)
+ (if (< retry-count 2)
(begin
- (sleep 1)
+ (sleep 30)
(loop (datastore-optimize datastore)
(+ 1 retry-count)))
(error "unable to perform WAL checkpoint"))))))