Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
esemeniuc committed May 18, 2024
1 parent 6e52c39 commit 7872d51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion relayer/src/health_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ impl HealthManager {
*health_state.write().unwrap() = new_health_state;
datapoint_info!(
"relayer-health-state",
("health_state", new_health_state, i64)
("health_state", new_health_state, i64),
("slot_receiver_len", slot_receiver.len(), i64),
);
}
recv(slot_receiver) -> _maybe_slot => {
Expand Down
2 changes: 1 addition & 1 deletion rpc/src/load_balancer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ impl LoadBalancer {
}));

let highest_slot = Arc::new(AtomicU64::default());
// sender tracked as health_manager-channel_stats.slot_sender_len
// size tracked as relayer-health-state.slot_receiver_len
let (slot_sender, slot_receiver) = crossbeam_channel::bounded(Self::SLOT_QUEUE_CAPACITY);
let subscription_threads = Self::start_subscription_threads(
servers,
Expand Down

0 comments on commit 7872d51

Please sign in to comment.