sapling/eden/mononoke/bonsai_globalrev_mapping/if
Thomas Orozco 13255301b0 mononoke/bonsai_globalrev_mapping: add caching
Summary:
Like it says in the title, this adds a caching layer around Globalrevs using
our existing `GetOrFillMultipleFromCacheLayers` abstraction.

Note: I've opted to not track dedicated metrics for this (compare to the hg
mapping to see them), since I don't believe we really ever look at them.

I'd like to do a little bit of refactoring of
`GetOrFillMultipleFromCacheLayers` to a) track them without having to ad-hoc
code it, b) convert it 0.3 futures, and c) require less ceremony to call it.
However, I'll do so in another diff.

Reviewed By: StanislavGlebik

Differential Revision: D25334478

fbshipit-source-id: 1385298b8fdf1cd081b6e509c6c3e03b3abbfa5b
2020-12-07 08:23:19 -08:00
..
bonsai_globalrev_mapping.thrift mononoke/bonsai_globalrev_mapping: add caching 2020-12-07 08:23:19 -08:00
Cargo.toml mononoke/bonsai_globalrev_mapping: add caching 2020-12-07 08:23:19 -08:00
thrift_build.rs mononoke/bonsai_globalrev_mapping: add caching 2020-12-07 08:23:19 -08:00
thrift_lib.rs mononoke/bonsai_globalrev_mapping: add caching 2020-12-07 08:23:19 -08:00