Skip to content

Commit 80c5db2

Browse files
Update src/content/docs/durable-objects/best-practices/websockets.mdx
Co-authored-by: Lambros Petrou <[email protected]>
1 parent edd9146 commit 80c5db2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ The Durable Object WebSocket class consists of Cloudflare-specific extensions to
4040

4141
Hibernation is only supported when a Durable Object acts as a WebSocket server. Currently, outgoing WebSockets cannot hibernate.
4242

43-
Other events, for example [alarms](/durable-objects/api/alarms/), can prevent a Durable Object from being inactive and therefore prevent this cost saving.
43+
Events, for example [alarms](/durable-objects/api/alarms/), incoming requests, and scheduling callbacks using `setTimeout/setInterval`) can prevent a Durable Object from being inactive and therefore prevent this cost saving.
44+
Read more in the section [When does a Durable Object incur duration charges?](/durable-objects/platform/pricing/#when-does-a-durable-object-incur-duration-charges).
4445

4546
:::
4647

0 commit comments

Comments
 (0)