sushy-tools/sushy_tools/emulator
Dmitry Tantsur 8d52482c79 Make memoize behave better in concurrent environments
Currently there is a chance for System view to raise sqlite3
exceptions because of table lock in PersistentDict.

1) Stop re-loading content on PersistentDict creation.
2) Retry OperationalError on all database accesses.
3) Rule out a race condition in __delitem__

Also refactor tests to remove excessive mocking.

Change-Id: I82726c41578700835f3b15d316aed562d68fbf67
2020-12-03 15:24:35 +01:00
..
resources Fix virtual media with q35 machines 2020-10-30 16:11:51 +01:00
templates Add Volumes nav property to Storage template 2020-09-14 16:21:37 -05:00
__init__.py Initial Commit 2017-04-06 17:05:16 +01:00
base.py Flatten the emulator resources 2020-08-06 12:52:12 +02:00
constants.py Add Virtual Media support 2019-07-02 16:12:51 +02:00
main.py Allow setting debug mode from command line 2020-11-17 19:34:32 +01:00
memoize.py Make memoize behave better in concurrent environments 2020-12-03 15:24:35 +01:00