Workers subrequest limit increased to 10,000 (configurable up to 10 million)
Workers on paid plans can now make up to 10,000 subrequests per invocation instead of the previous 1,000 limit, with the ability to configure this up to 10 million. This enables long-running requests like websockets and Workflows to exceed the previous constraint.
Workers no longer have a limit of 1000 subrequests per invocation, allowing you to make more fetch() calls or requests
to Cloudflare services on every incoming request. This is especially important for long-running Workers requests, such as
open websockets on Durable Objects or long-running Workflows, as these could often exceed this limit and error.
By default, Workers on paid plans are now limited to 10,000 subrequests per invocation, but this
limit can be increased up to 10 million by setting the new subrequests limit in your Wrangler configuration file.
{
"limits": {
"subrequests": 50000,
},
}[limits]
subrequests = 50_000
Workers on the free plan remain limited to 50 external subrequests and 1000 subrequests to Cloudflare services per invocation.
To protect against runaway code or unexpected costs, you can also set a lower limit for both subrequests and CPU usage.
{
"limits": {
"subrequests": 10,
"cpu_ms": 1000,
},
}[limits]
subrequests = 10
cpu_ms = 1_000
For more information, refer to the Wrangler configuration documentation for limits and subrequest limits.
Source: original entry ↗
More from Cloudflare
Follow Cloudflare to get its new changes in your feed and email digest.
Cloudflare One Client for Windows hotfix - trusted certificate chains
A new GA release for Windows Cloudflare One Client is available, addressing an issue with building trusted certificate chains.
Cloudflare One Client for macOS - Trusted Certificate Chain Fix
A new GA release of the macOS Cloudflare One Client is available. This hotfix addresses an issue with building trusted certificate chains.
Cloudflare One Client for Linux
A new GA release of Cloudflare One Client for Linux is now available. This hotfix addresses an issue with building trusted certificate chains.