From 5b0f9013aab02296ed3bbc54504ea6785e1b322b Mon Sep 17 00:00:00 2001 From: Eric Neuber Date: Tue, 26 May 2026 22:46:35 +0200 Subject: [PATCH] =?UTF-8?q?modbus=20polling=20Intervall=20vergr=C3=B6?= =?UTF-8?q?=C3=9Fert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.rs | 2 +- src/mqtt.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index e58d21a..b3f9caa 100644 --- a/src/main.rs +++ b/src/main.rs @@ -243,7 +243,7 @@ async fn main() -> std::io::Result<()> { &config.modbus_holding_register, &config.modbus_coils, value_maps, - std::time::Duration::from_secs(2), // Poll-Intervall + std::time::Duration::from_secs(10), // Poll-Intervall ); } diff --git a/src/mqtt.rs b/src/mqtt.rs index 61cf3f4..ee9c1f1 100644 --- a/src/mqtt.rs +++ b/src/mqtt.rs @@ -37,7 +37,7 @@ pub fn start_mqtt_thread(config: Arc>, values: Arc