summary refs log tree commit diff
path: root/gnu/packages/emacs-xyz.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-05-12 23:16:11 +0200
committerLudovic Courtès <ludo@gnu.org>2022-05-18 23:26:59 +0200
commitba6ba1a5af4aae36f9abc22ca5e6128f49576c9d (patch)
treeb816a6ef2bf61d938e74a680bb90404f65ff82de /gnu/packages/emacs-xyz.scm
parent3ae7632ca0a1edca9d8c3c766efb0dcc8aa5da37 (diff)
downloadguix-ba6ba1a5af4aae36f9abc22ca5e6128f49576c9d.tar.gz
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 'gnu/packages/emacs-xyz.scm')
0 files changed, 0 insertions, 0 deletions