Skip to content

Commit

Permalink
apply [limit repairs to top staked... solana-labs#28673] to non-Mainn…
Browse files Browse the repository at this point in the history
…etBeta clusters (solana-labs#29163)
  • Loading branch information
jbiseda authored and nickfrosty committed Jan 4, 2023
1 parent 929daea commit 4cb6f32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/serve_repair.rs
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ impl ServeRepair {
let identity_keypair = self.cluster_info.keypair().clone();
let my_id = identity_keypair.pubkey();

let max_buffered_packets = if root_bank.cluster_type() == ClusterType::Testnet {
let max_buffered_packets = if root_bank.cluster_type() != ClusterType::MainnetBeta {
2 * MAX_REQUESTS_PER_ITERATION
} else {
MAX_REQUESTS_PER_ITERATION
Expand Down

0 comments on commit 4cb6f32

Please sign in to comment.