From 1e02fc7640e9bbe4d3634b2680aa696bcce6a7f1 Mon Sep 17 00:00:00 2001 From: Trey Blancher Date: Sat, 12 Aug 2023 16:17:45 -0400 Subject: [PATCH] Set CPU an MEM thresholds to 1000ms --- monitor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monitor.c b/monitor.c index 2ee0117..09a74ee 100644 --- a/monitor.c +++ b/monitor.c @@ -9,9 +9,9 @@ #define CPU_TRACKING_WINDOW_SECS 1 #define IO_TRACKING_WINDOW_SECS 1 #define MEM_TRACKING_WINDOW_SECS 1 -#define CPU_TRIGGER_THRESHOLD_MS 100 +#define CPU_TRIGGER_THRESHOLD_MS 1000 #define IO_TRIGGER_THRESHOLD_MS 1000 -#define MEM_TRIGGER_THRESHOLD_MS 100 +#define MEM_TRIGGER_THRESHOLD_MS 1000 #define CPU_PRESSURE_FILE "/proc/pressure/cpu" #define IO_PRESSURE_FILE "/proc/pressure/io" #define MEM_PRESSURE_FILE "/proc/pressure/memory"