Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoqun committed Sep 15, 2024
1 parent bff6db6 commit 2eebee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/banking_simulation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -416,9 +416,9 @@ impl SimulatorLoop {
base_simulation_time: SystemTime,
sender_thread: EventSenderThread,
) -> (EventSenderThread, Sender<Slot>) {
self.poh_recorder.write().unwrap().reset(self.bank_forks.write().unwrap().root_bank(), Some((self.first_simulated_slot, self.first_simulated_slot+4)));
info!("warmup hack!");
sleep(Duration::from_millis(330));
self.poh_recorder.write().unwrap().reset(self.bank_forks.write().unwrap().root_bank(), Some((self.first_simulated_slot, self.first_simulated_slot+4)));
info!("warmup start!");
loop {
let current_slot = self.poh_recorder.read().unwrap().slot();
Expand Down

0 comments on commit 2eebee5

Please sign in to comment.