Skip to content

Commit 9ba7c94

Browse files
Link to Event History Limits page
1 parent fe05f5f commit 9ba7c94

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

docs/develop/python/continue-as-new.mdx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,9 @@ See how with [`all_handlers_finished`](message-passing#wait-for-message-handlers
8080

8181
## When is it right to Continue-as-New using the Python SDK? {#when}
8282

83-
Use Continue-as-New when your Workflow might hit scaling limits:
83+
Use Continue-as-New when your Workflow might hit [Event History Limits](/encyclopedia/workflow/workflow-execution/event#event-history-limits).
8484

85-
- When the Event History grows too large
86-
- When the Workflow might get too many Updates or Signals
87-
88-
Temporal tracks when you should Continue-as-New.
85+
Temporal tracks you Workflow's progress against these limits to let you know when you should Continue-as-New.
8986
Call `workflow.info().is_continue_as_new_suggested()` to check if it's time.
9087

9188
## How to test Continue-as-New using the Python SDK {#how-to-test}

docs/encyclopedia/workflow/workflow-execution/event.mdx

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,17 @@ An append-only log of [Events](#event) for your application.
6565
- Event History is durably persisted by the Temporal service, enabling seamless recovery of your application state from crashes or failures.
6666
- It also serves as an audit log for debugging.
6767

68-
**Event History limits**
68+
### Event History limits {#event-history-limits}
6969

7070
The Temporal Service stores the complete Event History for the entire lifecycle of a Workflow Execution.
7171

72-
The Temporal Service logs a [warning after 10Ki (10,240) Events](/workflow-execution/limits) and periodically logs additional warnings as new Events are added.
73-
If the Event History exceeds 50Ki (51,200) Events, the Workflow Execution is terminated.
72+
The Temporal Service logs a [warning after 10,240 Events](/workflow-execution/limits) and periodically logs additional warnings as new Events are added.
73+
74+
The Workflow Execution is terminated when the Event History:
75+
76+
- exceeds 51,200 Events.
77+
- contains more than 2000 Updates.
78+
- contains more than 10000 Signals.
7479

7580
### Event loop {#event-loop}
7681

0 commit comments

Comments
 (0)