sapling/apiserver
Thomas Orozco 8785082ed1 mononoke: apiserver: don't initialize sha1 pool if caching is not enabled
Summary: When caching is not enabled, initializing a volatile cache pool will return an `Err`. So, when caching is not enabled, we shouldn't try to grab a cache. I also added a little inline documentation to clarify the behavior here.

Reviewed By: farnz

Differential Revision: D15963514

fbshipit-source-id: f3580ce9e4287047435d6f27d099c12306b6b30c
2019-06-24 06:07:19 -07:00
..
client/src Convert scm/mononoke/apiserver to Rust 2018 2019-05-28 14:33:38 -07:00
if Add MononokeThriftBackingStore 2019-05-21 12:24:52 -07:00
src mononoke: apiserver: don't initialize sha1 pool if caching is not enabled 2019-06-24 06:07:19 -07:00