You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/durable-objects/api/alarms.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,8 +59,8 @@ Alarms can be used to build distributed primitives, like queues or batching of w
59
59
- Called by the system when a scheduled alarm time is reached.
60
60
61
61
- The optional parameter `alarmInfo` object has two properties:
62
-
-`retryCount` <Typetext="number"/>: The maximum number of retries if the alarm does not wake up the Durable Object.
63
-
-`isRetry` <Typetext="boolean"/>: A boolean value to indicate if the alarm should be retried.
62
+
-`retryCount` <Typetext="number"/>: The number of times this alarm event has been retried.
63
+
-`isRetry` <Typetext="boolean"/>: A boolean value to indicate if the alarm has been retried. This value is `true` if this alarm event is a retry.
64
64
65
65
- The `alarm()` handler has guaranteed at-least-once execution and will be retried upon failure using exponential backoff, starting at 2 second delays for up to 6 retries. Retries will be performed if the method fails with an uncaught exception.
0 commit comments