Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoqun committed Jul 10, 2024
1 parent dc4e5aa commit 0a4e733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/src/installed_scheduler_pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ impl SchedulingContext {
}

pub fn can_commit(&self) -> bool {
let (started_at, reached_max_height) = &mut self.started_at.lock().unwrap();
let (started_at, reached_max_height) = &mut *self.started_at.lock().unwrap();
if !reached_max_height && started_at.elapsed().as_millis() < 350 {
return true;
} else {
Expand Down

0 comments on commit 0a4e733

Please sign in to comment.