diff options
author | Christopher Baines <mail@cbaines.net> | 2023-04-22 21:59:50 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2023-04-22 21:59:50 +0100 |
commit | e65fc96714f8d988a771ee0d5ddd6bd02aacc256 (patch) | |
tree | aefdda1f7f091e249f2584c24cf53526851ee0c9 /guix-build-coordinator/datastore/sqlite.scm | |
parent | 64c03adb95008129d4b4cf9a84ada9ca2b235a69 (diff) | |
download | build-coordinator-e65fc96714f8d988a771ee0d5ddd6bd02aacc256.tar build-coordinator-e65fc96714f8d988a771ee0d5ddd6bd02aacc256.tar.gz |
Tweak the wal truncation again
Diffstat (limited to 'guix-build-coordinator/datastore/sqlite.scm')
-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 76e4c26..f52756f 100644 --- a/guix-build-coordinator/datastore/sqlite.scm +++ b/guix-build-coordinator/datastore/sqlite.scm @@ -314,7 +314,7 @@ PRAGMA optimize;") (spawn-fiber (lambda () (while #t - (sleep (* 60 3)) ; 3 minutes + (sleep (* 60 10)) ; 10 minutes (with-exception-handler (lambda (exn) (simple-format (current-error-port) @@ -327,9 +327,9 @@ PRAGMA optimize;") (retry-count 0)) (if result #t - (if (< retry-count 2) + (if (< retry-count 6) (begin - (sleep 30) + (sleep 10) (loop (datastore-optimize datastore) (+ 1 retry-count))) (error "unable to perform WAL checkpoint")))))) |