(service_name: str, timeout: int = 30)
| 2669 | |
| 2670 | floor = _wtmod.SEV_RANK.get(cfg.get('watchtower_notify_min_severity', 'high'), 3) |
| 2671 | try: |
| 2672 | realert_s = max(0.0, float(cfg.get('watchtower_realert_hours', 0))) * 3600 |
| 2673 | except (TypeError, ValueError): |
| 2674 | realert_s = 0.0 |
| 2675 | |
| 2676 | notifiable = [] |
| 2677 | with _watchtower_lock: |
| 2678 | _wt_load_seen() |
| 2679 | for a in new: |
| 2680 | if a['rank'] < floor: |
| 2681 | continue |
no test coverage detected