Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions core/src/cluster_slots_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ impl ClusterSlotsService {
let mut cluster_slots_service_timing = ClusterSlotsServiceTiming::default();
let mut last_stats = Instant::now();
let mut epoch_specs = EpochSpecs::from(bank_forks.clone());

// initialize cluster slots with the current root bank
let root_bank = bank_forks.read().unwrap().root_bank();
cluster_slots.update(&root_bank, &cluster_info);

while !exit.load(Ordering::Relaxed) {
let slots = match cluster_slots_update_receiver.recv_timeout(Duration::from_millis(200))
{
Expand Down
Loading