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]>
Signed-off-by: John Marshall <[email protected]>
  • Loading branch information
sprehn authored and themillhousegroup committed May 10, 2021
1 parent 4b9c047 commit e64a229
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 e64a229

Please sign in to comment.