Skip to content

Commit

Permalink
address some PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillLykov committed Nov 26, 2024
1 parent 59c9c93 commit ca7b51d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions send-transaction-service/src/tpu_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ pub trait TpuInfo {
/// `NUM_CONSECUTIVE_LEADER_SLOTS` we want to receive and returns TPU socket
/// addresses for these leaders.
///
/// For example, if leader schedule was `[L1, L1, L1, L1, L2, ...]` it will
/// return `[L1, L2]`.
/// For example, if leader schedule was `[L1, L1, L1, L1, L2, L2, L2, L2,
/// L1, ...]` it will return `[L1, L2, L1]`.
fn get_leader_tpus(&self, max_count: u64, protocol: Protocol) -> Vec<&SocketAddr>;
}

Expand Down
1 change: 1 addition & 0 deletions send-transaction-service/src/transaction_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ where
// to match MAX_CONNECTIONS from ConnectionCache
num_connections: 1024,
skip_check_transaction_age: true,
// experimentally found parameter values
worker_channel_size: 64,
max_reconnect_attempts: 4,
leaders_fanout: Fanout {
Expand Down

0 comments on commit ca7b51d

Please sign in to comment.