aboutsummaryrefslogtreecommitdiff
path: root/guix-build-coordinator/datastore.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-12-02 09:00:17 +0000
committerChristopher Baines <mail@cbaines.net>2020-12-02 09:00:17 +0000
commit806a3551c2e137e4b4d042cf7c5dd1fe1408df9a (patch)
tree2a9cfef804fc80e8301f5b786fec12fb3c55eefd /guix-build-coordinator/datastore.scm
parent9c9e702553c5bf9edfac34b4ed6fa1c4a6ec6e38 (diff)
downloadbuild-coordinator-806a3551c2e137e4b4d042cf7c5dd1fe1408df9a.tar
build-coordinator-806a3551c2e137e4b4d042cf7c5dd1fe1408df9a.tar.gz
Manually handle WAL checkpointing
SQLite's usual approach doesn't seem to always contain the size of the WAL, so move this logic in to the application and regularly run a checkpoint.
Diffstat (limited to 'guix-build-coordinator/datastore.scm')
-rw-r--r--guix-build-coordinator/datastore.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/guix-build-coordinator/datastore.scm b/guix-build-coordinator/datastore.scm
index c1ad5ad..77c47ec 100644
--- a/guix-build-coordinator/datastore.scm
+++ b/guix-build-coordinator/datastore.scm
@@ -8,6 +8,7 @@
#:export (database-uri->datastore
datastore-find-build-output))
+(re-export datastore-spawn-fibers)
(re-export datastore-update-metrics!)
(re-export datastore-update)
(re-export datastore-call-with-transaction)