From e9b4fbc757d469b956a6fc0cbbf1f4031a466845 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Thu, 31 Jul 2025 18:34:51 -0600 Subject: [PATCH] perf: reduce poll interval to 10 seconds --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index 3557936..905266e 100644 --- a/server.py +++ b/server.py @@ -22,7 +22,7 @@ if not BLUEIRIS_KEY: CAMERA_URL = "http://cameras.dns.t0.vc/image/SE-S?&w=9999&decode=1" MODEL_PATH = 'garage_door_cnn.pth' CLASS_NAMES = ['closed', 'open'] # From training, sorted alphabetically -POLL_INTERVAL_SECONDS = 30 +POLL_INTERVAL_SECONDS = 10 REQUEST_TIMEOUT_SECONDS = 5 # --- Model Inference ---