From 055355d3ae469f477720614656d227d92f36ffe2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20P=C4=99kala?= Date: Fri, 11 Apr 2025 13:01:53 +0200 Subject: [PATCH] Increase SNMP timeout to 2500 ms in configuration file. Value of 1500 ms is too small to detect devices in deep sleep state. This change make timeout consistent between config file and source code, defined in backend/magicolor.c: static int MC_SNMP_Timeout = 2500; Configuration value always takes higher precedence. --- backend/magicolor.conf.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/magicolor.conf.in b/backend/magicolor.conf.in index a7b7a4f01..80ffe8cb1 100644 --- a/backend/magicolor.conf.in +++ b/backend/magicolor.conf.in @@ -6,8 +6,8 @@ ### read requests. All values are given in milliseconds, ### i.e. 1000 is 1 second. -# SNMP auto-detection waits 1.5 seconds -snmp-timeout 1500 +# SNMP auto-detection waits 2.5 seconds +snmp-timeout 2500 # wait 15 seconds for scan data (color scans take ~6 seconds to initialize, # so we need to wait longer than that)