From c8ca289020734e4e673dac4b9c84ca4b7520d1e3 Mon Sep 17 00:00:00 2001 From: Nazar Mokrynskyi Date: Mon, 21 Oct 2024 11:08:26 +0300 Subject: [PATCH] Fix typo --- crates/subspace-farmer/src/farmer_cache.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/subspace-farmer/src/farmer_cache.rs b/crates/subspace-farmer/src/farmer_cache.rs index a215176817..539d79bae5 100644 --- a/crates/subspace-farmer/src/farmer_cache.rs +++ b/crates/subspace-farmer/src/farmer_cache.rs @@ -636,7 +636,8 @@ where } } })); - // Download two batches concurrently to make sure slow tail of one is compensated by another + // Download several batches concurrently to make sure slow tail of one is compensated by + // another let mut downloading_pieces_stream = downloading_pieces_stream.buffer_unordered(SYNC_CONCURRENT_BATCHES); // TODO: Can't use this due to https://github.com/rust-lang/rust/issues/64650