diff options
author | Christopher Baines <mail@cbaines.net> | 2020-12-04 18:47:10 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2020-12-04 18:47:10 +0000 |
commit | f757ac79ad0825159235240e3a37a83915fd4ccd (patch) | |
tree | dcd51067006eb9411e642a744cec455c77e4d79f /guix-build-coordinator/datastore.scm | |
parent | b34287c1295526eb771c9aa78575ae73ff2f84b9 (diff) | |
download | build-coordinator-f757ac79ad0825159235240e3a37a83915fd4ccd.tar build-coordinator-f757ac79ad0825159235240e3a37a83915fd4ccd.tar.gz |
Move some metrics out of base-datastore-metrics-updater
Some parts of this were quite slow with anything other than a small database,
so instead of doing slow queries on every request, do some slow queries to
setup the metrics, and then change them as part of the regular changes to the
database.
Diffstat (limited to 'guix-build-coordinator/datastore.scm')
-rw-r--r-- | guix-build-coordinator/datastore.scm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/guix-build-coordinator/datastore.scm b/guix-build-coordinator/datastore.scm index 77c47ec..8ddfb67 100644 --- a/guix-build-coordinator/datastore.scm +++ b/guix-build-coordinator/datastore.scm @@ -9,6 +9,7 @@ datastore-find-build-output)) (re-export datastore-spawn-fibers) +(re-export datastore-initialise-metrics!) (re-export datastore-update-metrics!) (re-export datastore-update) (re-export datastore-call-with-transaction) |