This commit is contained in:
parent
4ee318b2b2
commit
88a8f40bd2
|
@ -455,7 +455,7 @@ impl ServeRepair {
|
||||||
let identity_keypair = self.cluster_info.keypair().clone();
|
let identity_keypair = self.cluster_info.keypair().clone();
|
||||||
let my_id = identity_keypair.pubkey();
|
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
|
2 * MAX_REQUESTS_PER_ITERATION
|
||||||
} else {
|
} else {
|
||||||
MAX_REQUESTS_PER_ITERATION
|
MAX_REQUESTS_PER_ITERATION
|
||||||
|
|
Loading…
Reference in New Issue