Skip to content

Commit 454a1ba

Browse files
committed
Fixing broken links part 2
1 parent 7cfa31c commit 454a1ba

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/content/changelogs/workers.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ entries:
190190
- Added the [`strict_compression_checks`](/workers/configuration/compatibility-flags/#strict-compression-error-checking) compatibility flag for additional [`DecompressionStream`](/workers/runtime-apis/web-standards/#compression-streams) error checking.
191191
- publish_date: "2023-05-26"
192192
description: |-
193-
- A new [Hibernatable WebSockets API](/durable-objects/api/websockets/)
193+
- A new [Hibernatable WebSockets API](/durable-objects/best-practices/websockets/)
194194
(beta) has been added to [Durable Objects](/durable-objects/). The Hibernatable
195195
WebSockets API allows a Durable Object that is not currently running an event
196196
handler (for example, processing a WebSocket message or alarm) to be removed from

src/content/docs/durable-objects/api/state.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ The WebSocket Hibernation API permits a maximum of 32,768 WebSocket connections
125125

126126
### `getWebSockets`
127127

128-
`getWebSockets` is part of the [WebSocket Hibernation API](/durable-objects/best-practices/websockets//#websocket-hibernation-api), which allows a Durable Object to be removed from memory to save costs while keeping its WebSockets connected.
128+
`getWebSockets` is part of the [WebSocket Hibernation API](/durable-objects/best-practices/websockets/#websocket-hibernation-api), which allows a Durable Object to be removed from memory to save costs while keeping its WebSockets connected.
129129

130130
`getWebSockets` returns an `Array<WebSocket>` which is the set of WebSockets attached to the Durable Object. An optional tag argument can be used to filter the list according to tags supplied when calling [`DurableObjectState::acceptWebSocket`](/durable-objects/api/state/#acceptwebsocket).
131131

src/content/docs/durable-objects/api/storage-api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,4 +251,4 @@ The `put()` method returns a `Promise`, but most applications can discard this p
251251
## Related resources
252252

253253
- [Durable Objects: Easy, Fast, Correct – Choose Three](https://blog.cloudflare.com/durable-objects-easy-fast-correct-choose-three/)
254-
- [WebSockets API](/durable-objects/api/websockets/)
254+
- [WebSockets API](/durable-objects/best-practices/websockets/)

src/content/docs/durable-objects/best-practices/websockets.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ A full example can be found in [Build a WebSocket server with WebSocket Hibernat
375375

376376
Prior to `[email protected]` and Miniflare `v3.20231016.0`, WebSockets did not hibernate when using local development environments such as `wrangler dev` or Miniflare.
377377

378-
If you are using older versions, note that while hibernatable WebSocket events such as [`webSocketMessage()`](/durable-objects/api/websockets/#websocketmessage) will still be delivered, the Durable Object will never be evicted from memory.
378+
If you are using older versions, note that while hibernatable WebSocket events such as [`webSocketMessage()`](/durable-objects/best-practices/websockets/#websocketmessage) will still be delivered, the Durable Object will never be evicted from memory.
379379

380380
:::
381381

0 commit comments

Comments
 (0)