diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-12-28 02:44:37 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-12-28 02:44:37 +0100 |
commit | 1ddb263d21099ae42195c2bc382bdf72a7f24f82 (patch) | |
tree | 5dacc98baedd786030704379bb7e65e77ff92391 /src/machine/machined.h | |
parent | 3b9c7d955da357a45c0bcd03397160153539bc57 (diff) |
machined: don't look for images on each property get, but cache the image object inbetween
Diffstat (limited to 'src/machine/machined.h')
-rw-r--r-- | src/machine/machined.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/machine/machined.h b/src/machine/machined.h index 695ba297cc..df0cb82f8d 100644 --- a/src/machine/machined.h +++ b/src/machine/machined.h @@ -46,6 +46,9 @@ struct Manager { Hashmap *polkit_registry; + Hashmap *image_cache; + sd_event_source *image_cache_defer_event; + LIST_HEAD(Machine, machine_gc_queue); }; |