core-admin-client/qubesadmin/events
Marek Marczykowski-Górecki aea41511de
events: implicitly enable caching when creating EventsDispatcher
Application that runs EventsDispatcher can safely use also cache , which
greatly improve performance. This is because cache then is properly
updated/invalidated when needed.
Instead of modifying each application to explicitly enable cache based
on this simple rule, make it implicit when EventsDispatcher is created.

Do not enable caching when EventsDispatcher is created only temporarily
in wait_for_domain_shutdown.

QubesOS/qubes-issues#3293
2020-05-22 19:28:51 +02:00
..
__init__.py events: implicitly enable caching when creating EventsDispatcher 2020-05-22 19:28:51 +02:00
utils.py events: implicitly enable caching when creating EventsDispatcher 2020-05-22 19:28:51 +02:00