Skip to content

Commit af20d84

Browse files
committed
add docs on restart
1 parent b2c1ded commit af20d84

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

src/content/docs/workflows/build/trigger-workflows.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -155,12 +155,6 @@ Once stopped/terminated, the Workflow instance *cannot* be resumed.
155155

156156
### Restart a Workflow
157157

158-
:::caution
159-
160-
**Known issue**: Restarting a Workflow via the `restart()` method is not currently supported and will throw an exception (error).
161-
162-
:::
163-
164158
```ts
165159
let instance = await env.MY_WORKFLOW.get("abc-123")
166160
await instance.restart() // Returns Promise<void>

src/content/docs/workflows/reference/limits.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Many limits are inherited from those applied to Workers scripts and as documente
2525
| Maximum steps per Workflow [^5] | 1024 | 1024 |
2626
| Maximum Workflow executions | 100,000 per day [shared with Workers daily limit](/workers/platform/limits/#worker-limits) | Unlimited |
2727
| Concurrent Workflow instances (executions) per account | 25 | 10,000 |
28-
| Maximum Workflow instance creation rate | 100 per second [^6] | 100 per second [^6] |
28+
| Maximum Workflow instance creation rate [^7] | 100 per second [^6] | 100 per second [^6] |
2929
| Maximum number of [queued instances](/workflows/observability/metrics-analytics/#event-types) | 10,000 | 100,000 |
3030
| Retention limit for completed Workflow state | 3 days | 30 days [^2] |
3131
| Maximum length of a Workflow name [^4] | 64 characters | 64 characters |
@@ -42,6 +42,8 @@ Many limits are inherited from those applied to Workers scripts and as documente
4242

4343
[^6]: Workflows will return a HTTP 429 rate limited error if you exceed the rate of new Workflow instance creation.
4444

45+
[^7]: Each instance created or restarted counts towards this limit
46+
4547
<Render file="limits_increase" product="workers" />
4648

4749
### Increasing Workflow CPU limits

0 commit comments

Comments
 (0)