mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-25 14:55:55 +01:00
[lgwebos] Fix text message size bug (#10404)
Fixes #10403 Signed-off-by: Sebastian Prehn <sebastian.prehn@gmx.de>
This commit is contained in:
parent
1d8b0df4a7
commit
d2edd69f36
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user