From d2edd69f36f4168f9d9c0f119afd20e9cccee25a Mon Sep 17 00:00:00 2001 From: Sebastian Prehn <2531264+sprehn@users.noreply.github.com> Date: Sun, 28 Mar 2021 17:21:05 +0200 Subject: [PATCH] [lgwebos] Fix text message size bug (#10404) Fixes #10403 Signed-off-by: Sebastian Prehn --- .../binding/lgwebos/internal/LGWebOSHandlerFactory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bundles/org.openhab.binding.lgwebos/src/main/java/org/openhab/binding/lgwebos/internal/LGWebOSHandlerFactory.java b/bundles/org.openhab.binding.lgwebos/src/main/java/org/openhab/binding/lgwebos/internal/LGWebOSHandlerFactory.java index 4273128fa..250eda2ac 100644 --- a/bundles/org.openhab.binding.lgwebos/src/main/java/org/openhab/binding/lgwebos/internal/LGWebOSHandlerFactory.java +++ b/bundles/org.openhab.binding.lgwebos/src/main/java/org/openhab/binding/lgwebos/internal/LGWebOSHandlerFactory.java @@ -81,8 +81,8 @@ public class LGWebOSHandlerFactory extends BaseThingHandlerFactory { // reduce timeout from default 15sec this.webSocketClient.setConnectTimeout(1000); - // channel and app listing are json docs up to 3MB - this.webSocketClient.getPolicy().setMaxTextMessageSize(3 * 1024 * 1024); + // channel and app listing are json docs up to 4MB + this.webSocketClient.getPolicy().setMaxTextMessageSize(4 * 1024 * 1024); // since this is not using openHAB's shared web socket client we need to start and stop try {