dpgaspar commented on a change in pull request #11890:
URL:
https://github.com/apache/incubator-superset/pull/11890#discussion_r539537605
##########
File path: superset/models/reports.py
##########
@@ -122,7 +123,10 @@ class ReportSchedule(Model, AuditMixinNullable):
# Log retention
log_retention = Column(Integer, default=90)
+ # (Alerts) After a success how long to wait for a new trigger (seconds)
grace_period = Column(Integer, default=60 * 60 * 4)
+ # (Alerts/Reports) Unlock a possible stalled working state
+ working_timeout = Column(Integer, default=60 * 60 * 1)
Review comment:
this default is actually imposed by SQLAlchemy only, server_default
would place it at the db level. I confess I did not knew that :(
----------------------------------------------------------------
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]