diff options
author | Christopher Baines <mail@cbaines.net> | 2023-04-22 20:07:19 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2023-04-22 20:07:19 +0100 |
commit | 64c03adb95008129d4b4cf9a84ada9ca2b235a69 (patch) | |
tree | 4cd04db37c2955f7e68da1483e5b183c7e029591 | |
parent | 09c63449c7384035d45eb08a7cb633aa0f06523f (diff) | |
download | build-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.scm | 4 |
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")))))) |