Testys commited on
Commit
26151a4
·
verified ·
1 Parent(s): e0dcec0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ detector = get_detector(CFG)
38
  # It handles its own state (last alert time) internally.
39
  class AlertManager:
40
  def __init__(self, config):
41
- self.cooldown_seconds = config.get("alert_cooldown_seconds", 5)
42
  self.last_alert_time = 0
43
  self.alert_data = None
44
  self.sample_rate = None
 
38
  # It handles its own state (last alert time) internally.
39
  class AlertManager:
40
  def __init__(self, config):
41
+ self.cooldown_seconds = config.get("alert_cooldown_seconds", 1)
42
  self.last_alert_time = 0
43
  self.alert_data = None
44
  self.sample_rate = None