diff --git a/core/src/rpc_pubsub_service.rs b/core/src/rpc_pubsub_service.rs index c1c5fee152..98b80ee93b 100644 --- a/core/src/rpc_pubsub_service.rs +++ b/core/src/rpc_pubsub_service.rs @@ -37,6 +37,8 @@ impl PubSubService { }); session }) + .max_connections(1000) // Arbitrary, default of 100 is too low + .max_payload(10 * 1024 * 1024 + 1024) // max account size (10MB) + extra (1K) .start(&pubsub_addr); if let Err(e) = server {