Skip to content

Commit

Permalink
farmer: Decrease MAX_RANDOM_WALK_ROUNDS const.
Browse files Browse the repository at this point in the history
  • Loading branch information
shamil-gadelshin committed Dec 22, 2023
1 parent 8f53e8b commit 7c9ca22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/subspace-farmer/src/utils/farmer_piece_getter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<PV, NC> {
piece_provider: PieceProvider<PV>,
Expand Down

0 comments on commit 7c9ca22

Please sign in to comment.