From 4e168c85a51e0653689c59950973377bdd6cdaa6 Mon Sep 17 00:00:00 2001 From: rhpidfyre Date: Thu, 12 Jun 2025 17:25:59 -0400 Subject: [PATCH] Change the defaults for `timeout_check_critical` (10 minutes) and `timeout_check_warn` (1 hour) --- src/cpu.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cpu.py b/src/cpu.py index 9180e04..8464e91 100644 --- a/src/cpu.py +++ b/src/cpu.py @@ -18,8 +18,8 @@ def timeout_expired(check: float, timeout: int) -> bool: return (time.time() - check) > timeout class Tempature: - timeout_check_critical: int = 120 # Seconds - timeout_check_warn: int = 300 # Seconds + timeout_check_critical: int = 600 # Seconds + timeout_check_warn: int = 3600 # Seconds critical_message: str = "🔥 CPU is at a very high tempature." warning_message: str = "🌡️ CPU is at a high tempature." thermal_critical_c: int = 80