You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/01/21 12:02:50 UTC

[GitHub] [superset] dpgaspar commented on a change in pull request #12627: fix: Stabilize and deprecate legacy alerts module

dpgaspar commented on a change in pull request #12627:
URL: https://github.com/apache/superset/pull/12627#discussion_r561826741



##########
File path: superset/tasks/schedules.py
##########
@@ -844,8 +846,8 @@ def schedule_alerts() -> None:
     resolution = 0
     now = datetime.utcnow()
     start_at = now - timedelta(
-        seconds=3600
-    )  # process any missed tasks in the past hour
+        seconds=300

Review comment:
       would be nice to have this on a config flag




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org