[lgwebos] Fix text message size bug (#10404)

Fixes #10403

Signed-off-by: Sebastian Prehn <sebastian.prehn@gmx.de>
This commit is contained in:
Sebastian Prehn 2021-03-28 17:21:05 +02:00 committed by GitHub
parent 1d8b0df4a7
commit d2edd69f36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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 {