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 774b55b commit 9a49f71
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 @@ -895,7 +895,7 @@ impl<S: SpawnableScheduler<TH>, TH: TaskHandler> ThreadManager<S, TH> {
if !context.can_commit() {
info!("detected max tick height at scheduler thread...");
*result = Err(TransactionError::CommitFailed);
None
return None;
}
match executed_task.result_with_timings.0 {
Ok(()) => Some(executed_task),
Expand Down Expand Up @@ -933,7 +933,7 @@ impl<S: SpawnableScheduler<TH>, TH: TaskHandler> ThreadManager<S, TH> {
// for type safety.
fn start_threads(
&mut self,
context: SchedulingContext,
mut context: SchedulingContext,
mut result_with_timings: ResultWithTimings,
) {
let scheduler_id = self.scheduler_id;
Expand Down

0 comments on commit 9a49f71

Please sign in to comment.