diff --git a/src/content/docs/workers/wrangler/configuration.mdx b/src/content/docs/workers/wrangler/configuration.mdx index 8bbde8422d10e89..29bf02f5b6955c4 100644 --- a/src/content/docs/workers/wrangler/configuration.mdx +++ b/src/content/docs/workers/wrangler/configuration.mdx @@ -416,13 +416,16 @@ watch_dir = "build_watch_dir" ## Limits You can impose limits on your Worker's behavior at runtime. Limits are only supported for the [Standard Usage Model](/workers/platform/pricing/#example-pricing-standard-usage-model). -Limits are only enforced when deployed to Cloudflare's network, not in local development. The CPU limit -can be set to a maximum of 300,000 milliseconds (5 minutes). +Limits are only enforced when deployed to Cloudflare's network, not in local development.
- `cpu_ms` - The maximum CPU time allowed per invocation, in milliseconds. + - The limit can be set to a maximum of 300,000 milliseconds (5 minutes). + +- `subrequests` + - The maximum allowed number of fetch requests per invocation. Example: @@ -431,6 +434,7 @@ Example: ```toml title="wrangler.toml" [limits] cpu_ms = 100 +subrequests = 100 ```