You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by gr...@apache.org on 2020/10/27 16:38:16 UTC

[incubator-superset] branch master updated: fix: [email report] add multiple schedules per hour (#11414)

This is an automated email from the ASF dual-hosted git repository.

graceguo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 014fe9f  fix: [email report] add multiple schedules per hour (#11414)
014fe9f is described below

commit 014fe9fd8c84b8e311ebeb3076f2b03003586bd2
Author: Grace Guo <gr...@airbnb.com>
AuthorDate: Tue Oct 27 09:37:42 2020 -0700

    fix: [email report] add multiple schedules per hour (#11414)
---
 superset/tasks/schedules.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/tasks/schedules.py b/superset/tasks/schedules.py
index 54d192c..8aada3b 100644
--- a/superset/tasks/schedules.py
+++ b/superset/tasks/schedules.py
@@ -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