mirror of
https://github.com/tendermint/tendermint.git
synced 2026-06-01 11:56:21 +00:00
* Update error message to correspond to changes in v0.34.x * Add buffer size and client-close config parameters Signed-off-by: Thane Thomson <connect@thanethomson.com>
This commit is contained in:
@@ -889,6 +889,7 @@ func (n *nodeImpl) startRPC() ([]net.Listener, error) {
|
||||
}
|
||||
}),
|
||||
rpcserver.ReadLimit(cfg.MaxBodyBytes),
|
||||
rpcserver.WriteChanCapacity(n.config.RPC.WebSocketWriteBufferSize),
|
||||
)
|
||||
wm.SetLogger(wmLogger)
|
||||
mux.HandleFunc("/websocket", wm.WebsocketHandler)
|
||||
|
||||
Reference in New Issue
Block a user