Increase maximum frame size for incoming websocket messages
This commit is contained in:
parent
efaa856c35
commit
36a0d1efcf
1 changed files with 3 additions and 1 deletions
|
@ -172,7 +172,9 @@ function _createSocket(
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
return new WebSocket(url, undefined, undefined, undefined, requestOptions);
|
return new WebSocket(url, undefined, undefined, undefined, requestOptions, {
|
||||||
|
maxReceivedFrameSize: 0x210000,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
const FIVE_MINUTES = 1000 * 60 * 5;
|
const FIVE_MINUTES = 1000 * 60 * 5;
|
||||||
|
|
Loading…
Reference in a new issue