blcksrx opened a new pull request #11773:
URL: https://github.com/apache/incubator-superset/pull/11773


   Remove double check the active scheduler in `email_reports.send` task and 
`scheduler_windows` method:
   
   email_reports.send task:
   ```       
     # The user may have disabled the schedule. If so, ignore this
     if not schedule or not schedule.active:
         logger.info("Ignoring deactivated schedule")
         return
   ```
   scheduler_windows :
   ```
   schedules = session.query(model_cls).filter(model_cls.active.is_(True))
   
   for schedule in schedules:


----------------------------------------------------------------
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to