]> git.basschouten.com Git - openhab-addons.git/commitdiff
[lgwebos] Fix text message size bug (#10404)
authorSebastian Prehn <2531264+sprehn@users.noreply.github.com>
Sun, 28 Mar 2021 15:21:05 +0000 (17:21 +0200)
committerGitHub <noreply@github.com>
Sun, 28 Mar 2021 15:21:05 +0000 (17:21 +0200)
Fixes #10403

Signed-off-by: Sebastian Prehn <sebastian.prehn@gmx.de>
bundles/org.openhab.binding.lgwebos/src/main/java/org/openhab/binding/lgwebos/internal/LGWebOSHandlerFactory.java

index 4273128faf1207bd2e0d29e66040a05efa36a371..250eda2ac1bfc0b2cd36e8e6659cb08a46871e43 100644 (file)
@@ -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 {