Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Increase MAX_NUMBER_OF_SAME_REQUESTS_PER_PEER
Browse files Browse the repository at this point in the history
  • Loading branch information
kpp committed May 28, 2021
1 parent 5a4022b commit c16d634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/network/src/block_request_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ use std::hash::{Hasher, Hash};
const LOG_TARGET: &str = "sync";
const MAX_BLOCKS_IN_RESPONSE: usize = 128;
const MAX_BODY_BYTES: usize = 8 * 1024 * 1024;
const MAX_NUMBER_OF_SAME_REQUESTS_PER_PEER: usize = 2;
const MAX_NUMBER_OF_SAME_REQUESTS_PER_PEER: usize = 6;

mod rep {
use super::ReputationChange as Rep;
Expand Down

0 comments on commit c16d634

Please sign in to comment.