From d568477563b95a0c9a7785d17962b5ebb9396005 Mon Sep 17 00:00:00 2001 From: Cristina Dogaru Date: Sun, 22 Jun 2025 14:12:04 +0300 Subject: [PATCH 1/2] fix --- fern/api-reference/websockets/subscription-api.mdx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fern/api-reference/websockets/subscription-api.mdx b/fern/api-reference/websockets/subscription-api.mdx index 6a4b332d..541465a8 100644 --- a/fern/api-reference/websockets/subscription-api.mdx +++ b/fern/api-reference/websockets/subscription-api.mdx @@ -113,11 +113,10 @@ Next, install a command line tool for making WebSocket requests such as [wscat]( # WebSocket Limits The following limits apply for WebSocket connections: - -* There is a limit of **20,000 WebSocket connections** per API Key as well as **1,000 parallel WebSocket subscriptions** per WebSocket connection, creating a maximum of **20 million subscriptions per application**. +* There is a limit of **100 WebSocket connections** for the FREE tier and **2,000 WebSocket connections** for all other tiers, with a maximum of 50,000 connections per instance. +* **No limits** on the number of **parallel** WebSocket subscriptions per WebSocket connection. * The maximum size of a JSON-RPC `batch` request that can be sent over a WebSocket connection is 20 * Free tier users will be limited to 10 concurrent requests per WebSocket connection. - *** # Error Codes From c021ce0790694e7c95e4cac305ddd72e488d5dc3 Mon Sep 17 00:00:00 2001 From: Cristina Dogaru Date: Wed, 25 Jun 2025 13:45:30 +0300 Subject: [PATCH 2/2] review changes --- fern/api-reference/websockets/subscription-api.mdx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/fern/api-reference/websockets/subscription-api.mdx b/fern/api-reference/websockets/subscription-api.mdx index 541465a8..15ba68fa 100644 --- a/fern/api-reference/websockets/subscription-api.mdx +++ b/fern/api-reference/websockets/subscription-api.mdx @@ -113,17 +113,18 @@ Next, install a command line tool for making WebSocket requests such as [wscat]( # WebSocket Limits The following limits apply for WebSocket connections: + * There is a limit of **100 WebSocket connections** for the FREE tier and **2,000 WebSocket connections** for all other tiers, with a maximum of 50,000 connections per instance. * **No limits** on the number of **parallel** WebSocket subscriptions per WebSocket connection. -* The maximum size of a JSON-RPC `batch` request that can be sent over a WebSocket connection is 20 -* Free tier users will be limited to 10 concurrent requests per WebSocket connection. +* The maximum size of a JSON-RPC `batch` request that can be sent over a WebSocket connection is 1000 + *** # Error Codes | Error Code | Error Message | Solution | | ---------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `32600` | `"The maximum batch size that can be sent over a websocket connection is 10. Please decrease the batch size and try again."` | Occurs when user attempts to send high-volume JSON-RPC traffic over Websockets. We recommend this traffic be sent over HTTP instead to optimize server backends. | +| `32600` | `"Sorry, the maximum batch request size is 1000. Please reduce the size of your request and try again."` | Occurs when user attempts to send high-volume JSON-RPC traffic over Websockets. We recommend this traffic be sent over HTTP instead to optimize server backends. | ***