You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, our hapi-nes does not allow to set this option, it would be when instantiating the ws server see packages/core-p2p/src/hapi-nes/listener.ts.
So two things :
allow to set the maxPayload option on the ws server (in hapi-nes)
when registering hapi-nes plugin on every p2p server (peer, blocks, and transactions), set the following values : 100KB for peer server, 20MB for blocks server, 10MB for transactions server
The text was updated successfully, but these errors were encountered:
The
maxPayload
option on ws server allows to specify a max payload size on the ws server listener : https://github.com/websockets/ws/blob/da42ea17451f11eed54adb54d3beeedbb1c2aa70/doc/ws.mdCurrently, our hapi-nes does not allow to set this option, it would be when instantiating the ws server see
packages/core-p2p/src/hapi-nes/listener.ts
.So two things :
The text was updated successfully, but these errors were encountered: