Skip to content

Commit

Permalink
[lgwebos] Fix text message size bug (openhab#10404)
Browse files Browse the repository at this point in the history
Fixes openhab#10403

Signed-off-by: Sebastian Prehn <[email protected]>
  • Loading branch information
sprehn authored Mar 28, 2021
1 parent c463e0d commit 9e1b36b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ protected void activate(ComponentContext componentContext) {
// 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 {
Expand Down

0 comments on commit 9e1b36b

Please sign in to comment.