Skip to content
Open
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: 4 additions & 1 deletion cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,10 @@ where
"next jito leader slot in {num_slots} slots in {}",
next_leader.next_leader_region
);
sleep(Duration::from_millis(500)).await;
// if we're not within 2 slots of the leader, sleep for 500ms
if !is_leader_slot {
sleep(Duration::from_millis(500)).await;
}
}

// build + sign the transactions
Expand Down