diff --git a/internal/rpc/core/events.go b/internal/rpc/core/events.go index 023d45a2d7..da8e6088ee 100644 --- a/internal/rpc/core/events.go +++ b/internal/rpc/core/events.go @@ -17,7 +17,7 @@ import ( const ( // Buffer on the Tendermint (server) side to allow some slowness in clients. - subBufferSize = 100 + subBufferSize = 500 // maxQueryLength is the maximum length of a query string that will be // accepted. This is just a safety check to avoid outlandish queries. diff --git a/rpc/jsonrpc/server/ws_handler.go b/rpc/jsonrpc/server/ws_handler.go index bb897680e4..0f9ed2daba 100644 --- a/rpc/jsonrpc/server/ws_handler.go +++ b/rpc/jsonrpc/server/ws_handler.go @@ -17,7 +17,7 @@ import ( // WebSocket handler const ( - defaultWSWriteChanCapacity = 100 + defaultWSWriteChanCapacity = 500 defaultWSWriteWait = 10 * time.Second defaultWSReadWait = 30 * time.Second defaultWSPingPeriod = (defaultWSReadWait * 9) / 10