commit | b1d71f88f51db379f42a9255181d969963afcb66 | [log] [tgz] |
---|---|---|
author | Stanislav Zholnin <zholnin@google.com> | Fri Mar 12 20:50:02 2021 +0000 |
committer | Stanislav Zholnin <zholnin@google.com> | Fri Mar 12 20:54:52 2021 +0000 |
tree | 3aaf475df7c287fbbe14809bee6b9db50a858b5d | |
parent | 884614ff762d67cc0a12650530381b722eb35154 [diff] |
Introduce caching to DiscreteRegistry. Cached representation of state on disk is kept in the memory after API query until next time data is dump to disk. Second and following API queries will not hit the disk. Other improvements and bug fixes. Bug: 176965672 Test: in development Change-Id: I583cba4c74487c79f023efd4b3ce2ee844351719