Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoqun committed Dec 20, 2023
1 parent 631e37f commit 5bcbd84
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion unified-scheduler-logic/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,9 @@ impl SchedulingStateMachine {
self.reschedule_count += 1;
self.try_lock_for_task(TaskSource::Retryable, task)
})
.inspect(|_| {
.map(|task| {
self.rescheduled_task_count += 1;
task
})
}

Expand Down

0 comments on commit 5bcbd84

Please sign in to comment.