diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-05-12 23:16:11 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-05-18 23:26:59 +0200 |
commit | ba6ba1a5af4aae36f9abc22ca5e6128f49576c9d (patch) | |
tree | b816a6ef2bf61d938e74a680bb90404f65ff82de /etc/init.d/guix-daemon.in | |
parent | 3ae7632ca0a1edca9d8c3c766efb0dcc8aa5da37 (diff) | |
download | guix-ba6ba1a5af4aae36f9abc22ca5e6128f49576c9d.tar.gz guix-ba6ba1a5af4aae36f9abc22ca5e6128f49576c9d.zip |
store: 'mcached' users can specify a cache ID.
Users of 'mcached' can now specify a cache ID; furthermore, the cache
hit rate is automatically recorded for all the caches accessed with
'mcached'.
* guix/store.scm (%max-store-connection-caches)
(%store-connection-cache-names): New variables.
(recorder-for-cache): New procedure.
(record-cache-lookup!): Add 'cache-id' parameter and rewrite in terms of
'recorder-for-cache'.
(lookup-cached-object): Add 'cache-id' parameter and honor it.
(%mcached): Add #:cache parameter and honor it.
(mcached): Add '=>' keyword and corresponding clauses.
Diffstat (limited to 'etc/init.d/guix-daemon.in')
0 files changed, 0 insertions, 0 deletions