mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
[lgwebos] Increase limit to 5MB for Websocket text message (#16399)
A user reported an error with size 4316809 while previous max was 4194304
.
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
This commit is contained in:
parent
8007bb1f5a
commit
b7aaf621f5
@ -79,8 +79,8 @@ public class LGWebOSHandlerFactory extends BaseThingHandlerFactory {
|
||||
// reduce timeout from default 15sec
|
||||
this.webSocketClient.setConnectTimeout(1000);
|
||||
|
||||
// channel and app listing are json docs up to 4MB
|
||||
this.webSocketClient.getPolicy().setMaxTextMessageSize(4 * 1024 * 1024);
|
||||
// channel and app listing are json docs up to 5MB
|
||||
this.webSocketClient.getPolicy().setMaxTextMessageSize(5 * 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