From: Sebastian Prehn <2531264+sprehn@users.noreply.github.com> Date: Sun, 28 Mar 2021 15:21:05 +0000 (+0200) Subject: [lgwebos] Fix text message size bug (#10404) X-Git-Url: https://git.basschouten.com/?a=commitdiff_plain;h=d2edd69f36f4168f9d9c0f119afd20e9cccee25a;p=openhab-addons.git [lgwebos] Fix text message size bug (#10404) Fixes #10403 Signed-off-by: Sebastian Prehn --- 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 4273128faf..250eda2ac1 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 {