[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
|
// reduce timeout from default 15sec
|
||||||
this.webSocketClient.setConnectTimeout(1000);
|
this.webSocketClient.setConnectTimeout(1000);
|
||||||
|
|
||||||
// channel and app listing are json docs up to 3MB
|
// channel and app listing are json docs up to 4MB
|
||||||
this.webSocketClient.getPolicy().setMaxTextMessageSize(3 * 1024 * 1024);
|
this.webSocketClient.getPolicy().setMaxTextMessageSize(4 * 1024 * 1024);
|
||||||
|
|
||||||
// since this is not using openHAB's shared web socket client we need to start and stop
|
// since this is not using openHAB's shared web socket client we need to start and stop
|
||||||
try {
|
try {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user