From 30806152620cf604cbe8a210cfcbacc20ce67965 Mon Sep 17 00:00:00 2001 From: Arne Seime Date: Mon, 31 Jul 2023 13:04:00 +0200 Subject: [PATCH] Increase comm timeout to 30 seconds (#15342) Signed-off-by: Arne Seime --- .../millheat/internal/handler/MillheatAccountHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.openhab.binding.millheat/src/main/java/org/openhab/binding/millheat/internal/handler/MillheatAccountHandler.java b/bundles/org.openhab.binding.millheat/src/main/java/org/openhab/binding/millheat/internal/handler/MillheatAccountHandler.java index 2de266a627f..0b5165f0e5e 100644 --- a/bundles/org.openhab.binding.millheat/src/main/java/org/openhab/binding/millheat/internal/handler/MillheatAccountHandler.java +++ b/bundles/org.openhab.binding.millheat/src/main/java/org/openhab/binding/millheat/internal/handler/MillheatAccountHandler.java @@ -362,7 +362,7 @@ public class MillheatAccountHandler extends BaseBridgeHandler { return req.header("Connection", "Keep-Alive").header("X-Zc-Major-Domain", "seanywell") .header("X-Zc-Msg-Name", "millService").header("X-Zc-Sub-Domain", "milltype").header("X-Zc-Seq-Id", "1") - .header("X-Zc-Version", "1").method(HttpMethod.POST).timeout(5, TimeUnit.SECONDS) + .header("X-Zc-Version", "1").method(HttpMethod.POST).timeout(30, TimeUnit.SECONDS) .content(new BytesContentProvider(gson.toJson(payload).getBytes(StandardCharsets.UTF_8)), CONTENT_TYPE); }