automation: run some jobs less frequently
This commit is contained in:
parent
d54fae7423
commit
d7091ead5a
3 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,7 @@ def set_http_alarm(proxy_id: int, state: AlarmState, text: str):
|
|||
class AlarmProxyHTTPStatusAutomation(BaseAutomation):
|
||||
short_name = "alarm_http_status"
|
||||
description = "Check all deployed proxies for HTTP status code"
|
||||
frequency = 45
|
||||
|
||||
def automate(self, full: bool = False) -> Tuple[bool, str]:
|
||||
proxies = Proxy.query.filter(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue