sapling/bookmarks
Pavel Aslanov 655c1122e4 write through bookmarks cache
Summary:
This diff adds caching layer for bookmarks. It only effects semantics of `list_by_prefix_maybe_stale`, other should methods should not be effected by this change.
- all requests to database issued by `list_by_prefix_maybe_stale` are cached for `ttl` time
- but if happened locally cache is purged and replaced to new one which will go through master replica

Reviewed By: StanislavGlebik

Differential Revision: D14928419

fbshipit-source-id: 30994f9c31f8063e8d6b2dd0a6afb06c067aa65a
2019-05-21 12:25:22 -07:00
..
dbbookmarks rust/sql: add LABEL to SqlConstructors 2019-05-21 12:25:14 -07:00
src write through bookmarks cache 2019-05-21 12:25:22 -07:00
Cargo.toml Add Cargo.toml files to crates. (#7) 2018-07-09 19:52:27 -07:00