fix: [email report] add multiple schedules per hour (#11414)

This commit is contained in:
Grace Guo 2020-10-27 09:37:42 -07:00 committed by GitHub
parent 98daf0a435
commit 014fe9fd8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -802,8 +802,8 @@ def schedule_window(
for eta in next_schedules(
schedule.crontab, schedule_start_at, stop_at, resolution=resolution
):
logging.info("Scheduled eta %s", eta)
get_scheduler_action(report_type).apply_async(args, eta=eta) # type: ignore
break
return None