Skip to content

Commit 50ca648

Browse files
committed
[workers] Add new WebSocket message size limit
We updated this limit from 1 MiB to 32 MiB.
1 parent 8a6f24c commit 50ca648

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

src/content/docs/durable-objects/platform/limits.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Durable Objects are a special kind of Worker, so [Workers Limits](/workers/platf
2020
| Storage per Durable Object | 10 GB [^3] |
2121
| Key size | Key and value combined cannot exceed 2 MB |
2222
| Value size | Key and value combined cannot exceed 2 MB |
23-
| WebSocket message size | 1 MiB (only for received messages) |
23+
| WebSocket message size | 32 MiB (only for received messages) |
2424
| CPU per request | 30 seconds (default) / configurable to 5 minutes of [active CPU time](/workers/platform/limits/#cpu-time) [^4] |
2525

2626
[^1]: Identical to the Workers [script limit](/workers/platform/limits/).
@@ -69,7 +69,7 @@ For Durable Object classes with [SQLite storage](/durable-objects/api/sqlite-sto
6969
| Storage per Durable Object | Unlimited |
7070
| Key size | 2 KiB (2048 bytes) |
7171
| Value size | 128 KiB (131072 bytes) |
72-
| WebSocket message size | 1 MiB (only for received messages) |
72+
| WebSocket message size | 32 MiB (only for received messages) |
7373
| CPU per request | 30s (including WebSocket messages) [^7] |
7474

7575
[^5]: Identical to the Workers [script limit](/workers/platform/limits/).

src/content/release-notes/durable-objects.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ link: "/durable-objects/release-notes/"
33
productName: Durable Objects
44
productLink: "/durable-objects/"
55
entries:
6+
- publish_date: "2025-10-25"
7+
description: |-
8+
- The maximum WebSocket message size limit has been increased from 1 MiB to 32 MiB.
69
- publish_date: "2025-10-16"
710
title: Durable Objects can access stored data with UI editor
811
description: |-

src/content/release-notes/workers.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ link: "/workers/platform/changelog/"
33
productName: Workers
44
productLink: "/workers/"
55
entries:
6+
- publish_date: "2025-10-25"
7+
description: |-
8+
- The maximum WebSocket message size limit has been increased from 1 MiB to 32 MiB.
69
- publish_date: "2025-10-22"
710
description: |-
811
- Warnings which were previously only visible via the devtools console in preview sessions are now also sent to the tail Worker, if one is attached.

0 commit comments

Comments
 (0)