From 7c9ca228ab7598ea9795c58290b9d879423cf60f Mon Sep 17 00:00:00 2001 From: Shamil Gadelshin Date: Fri, 22 Dec 2023 18:41:25 +0700 Subject: [PATCH] farmer: Decrease MAX_RANDOM_WALK_ROUNDS const. --- crates/subspace-farmer/src/utils/farmer_piece_getter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/subspace-farmer/src/utils/farmer_piece_getter.rs b/crates/subspace-farmer/src/utils/farmer_piece_getter.rs index 4111f96280..5ceb099307 100644 --- a/crates/subspace-farmer/src/utils/farmer_piece_getter.rs +++ b/crates/subspace-farmer/src/utils/farmer_piece_getter.rs @@ -12,7 +12,7 @@ use subspace_networking::utils::multihash::ToMultihash; use subspace_networking::utils::piece_provider::{PieceProvider, PieceValidator, RetryPolicy}; use tracing::{debug, error, trace}; -const MAX_RANDOM_WALK_ROUNDS: usize = 35; +const MAX_RANDOM_WALK_ROUNDS: usize = 15; pub struct FarmerPieceGetter { piece_provider: PieceProvider,