uranusjr commented on code in PR #32921:
URL: https://github.com/apache/airflow/pull/32921#discussion_r1278663022
##########
airflow/timetables/trigger.py:
##########
@@ -89,7 +89,7 @@ def next_dagrun_info(
else:
next_start_time = self._align_to_next(restriction.earliest)
else:
- start_time_candidates = [self._align_to_next(DateTime.utcnow())]
+ start_time_candidates =
[self._align_to_next(DateTime.utcnow().replace(second=0, microsecond=0))]
Review Comment:
Wouldn’t this still have problems if the scheduler is a tad too slow and
fails to schedule the DAG in a minute? I still prefer the `_align_to_prev` fix
over this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]