Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoqun committed Sep 17, 2024
1 parent 7081e92 commit cf01629
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unified-scheduler-pool/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -993,14 +993,14 @@ impl<S: SpawnableScheduler<TH>, TH: TaskHandler> ThreadManager<S, TH> {
},
SchedulingMode::BlockProduction => {
if !context.can_commit() {
info!("detected max tick height at scheduler thread...");
//info!("detected max tick height at scheduler thread...");
//*result = Err(TransactionError::CommitFailed);
return Some((executed_task, true));
}
match executed_task.result_with_timings.0 {
Ok(()) => Some((executed_task, false)),
Err(ref a @ TransactionError::CommitFailed) => {
info!("maybe reached max tick height...");
//info!("maybe reached max tick height...");
//*result = Err(TransactionError::CommitFailed);
// it's okay to abort scheduler as this error gurantees determinstic bank
// freezing...
Expand Down

0 comments on commit cf01629

Please sign in to comment.