726
}
727
if !manual && end.Sub(next.Next) > catchupWindow {
728
>
s.logger.Warn("Schedule missed catchup window", "now", end, "time", next.Next)
workflow.go
729
>
// Action's nominal time was already past the catchup window when
730
>
// the scheduler woke up. It was never buffered for execution.
731
>
// action_running is not included: the action was never a candidate
732
>
// for execution, so whether something is running is irrelevant.
733
>
s.metrics.WithTags(map[string]string{
734
>
metrics.ScheduleMissedReasonTag: metrics.ScheduleMissedReasonNotBuffered,
735
>
}).Counter(metrics.ScheduleMissedCatchupWindow.Name()).Inc(1)
736
>
s.Info.MissedCatchupWindow++
737
>
continue
738
}
739
s.addStart(next.Nominal, next.Next, overlapPolicy, manual)