sapling/bonsai-hg-mapping
Jeremy Fitzhardinge e0ce53ce36 rust: change asynchronize to use tokio-threadpool::blocking
Summary:
Should be functionally equivalent and semantically more appropriate

This also makes a couple of small API changes:
- The inner function is expected to just return a Result - IntoFuture is
  overkill if its supposed to be synchronous in the first place
- `asynchronize` itself returns `impl Future` rather than being intrinsically
  boxed.
- Restructure dieselfilenodes::add_filenodes to only asynchronize the insert
  itself.

Reviewed By: farnz

Differential Revision: D8959535

fbshipit-source-id: fef9164e3be0069bd0d93573642cd57bb5babb73
2018-08-13 14:51:45 -07:00
..
schemas id for unique (repo_id, hg_cs_id) in mysql schema 2018-07-12 07:21:17 -07:00
src rust: change asynchronize to use tokio-threadpool::blocking 2018-08-13 14:51:45 -07:00
test sql mapping between {Bonsai|Hg} changesets 2018-07-11 09:07:13 -07:00