banking bench tpu_disable_quic (#30883)
tpu_use_quic -> tpu_disable_quic
This commit is contained in:
parent
3e500d9e92
commit
6c58a84d85
|
@ -435,10 +435,10 @@ fn main() {
|
|||
ClusterInfo::new(node.info, keypair, SocketAddrSpace::Unspecified)
|
||||
};
|
||||
let cluster_info = Arc::new(cluster_info);
|
||||
let tpu_use_quic = matches.is_present("tpu_use_quic");
|
||||
let connection_cache = match tpu_use_quic {
|
||||
true => ConnectionCache::new(DEFAULT_TPU_CONNECTION_POOL_SIZE),
|
||||
false => ConnectionCache::with_udp(DEFAULT_TPU_CONNECTION_POOL_SIZE),
|
||||
let tpu_disable_quic = matches.is_present("tpu_disable_quic");
|
||||
let connection_cache = match tpu_disable_quic {
|
||||
false => ConnectionCache::new(DEFAULT_TPU_CONNECTION_POOL_SIZE),
|
||||
true => ConnectionCache::with_udp(DEFAULT_TPU_CONNECTION_POOL_SIZE),
|
||||
};
|
||||
let banking_stage = BankingStage::new_num_threads(
|
||||
&cluster_info,
|
||||
|
|
Loading…
Reference in New Issue