A user reported an error with size
4316809 while previous max was
4194304.
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
// 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 {