Run fetchers in parallel in MultiFetcher.first_available

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2022-06-07 15:29:09 +10:00
parent d373ad5145
commit c393270899
No known key found for this signature in database
GPG key ID: 591C0B03040416D6
2 changed files with 45 additions and 13 deletions

View file

@ -234,7 +234,7 @@ async fn entry() -> Result<()> {
Some(fetcher) => {
install_from_package(
binaries,
fetcher,
&*fetcher,
install_path,
meta,
opts,