sapling/eden/mononoke/common
Thomas Orozco 140607ce1f mononoke/async_limiter: make AsyncLimiter::new async
Summary:
The motivation for making this function async is that it needs to spawn things,
so it should only ever execute while polled by an executor. If we don't do
this, then it can panic if there is no executor, which is annoying.

I've been wanting to do this for a while but hadn't done it because it required
refactoring a lot of things (see the rest of this stack). But, now, it's done.

Reviewed By: mitrandir77

Differential Revision: D21427348

fbshipit-source-id: bad077b90bcf893f38b90e5c470538d2781c51e9
2020-05-12 06:49:25 -07:00
..
allocation_tracing mononoke: reverse autocargo include list to excludes 2020-05-06 08:43:18 -07:00
async_limiter mononoke/async_limiter: make AsyncLimiter::new async 2020-05-12 06:49:25 -07:00
bounded_traversal Bump tokio to 0.2.13 2020-04-15 12:18:00 -07:00
dedupmap mononoke: reverse autocargo include list to excludes 2020-05-06 08:43:18 -07:00
rust mononoke/rust-shed: apply new coding style convention that separates oss-only code 2020-05-07 04:52:16 -07:00
scuba_ext mononoke/rust-shed: apply new coding style convention that separates oss-only code 2020-05-07 04:52:16 -07:00
sql_construct mononoke/rust-shed: apply new coding style convention that separates oss-only code 2020-05-07 04:52:16 -07:00
topo_sort mononoke: make blobrepo and its dependencies OSS buildable 2020-03-31 04:02:45 -07:00
uniqueheap mononoke: make blobrepo and its dependencies OSS buildable 2020-03-31 04:02:45 -07:00