Skip to content

Commit 3dff026

Browse files
authored
update containers max_instances (#25552)
1 parent 8ca00b6 commit 3dff026

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/content/docs/workers/wrangler/configuration.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -992,11 +992,9 @@ The following options are available:
992992
- To specify a custom instance type, see [here](#custom-instance-types).
993993

994994
- `max_instances` <Type text="string" /> <MetaInfo text="optional" />
995-
- The maximum number of concurrent container instances you want to run. If you have more Durable Objects that
996-
request to run a container than this number, the container request will error. You may have more Durable Objects
997-
than this number over a longer time period, but you may not have more concurrently.
995+
- The maximum number of concurrent container instances you want to run at any given moment. Stopped containers do not count towards this - you may have more container instances than this number overall, but only this many actively running containers at once. If a request to start a container will exceed this limit, that request will error.
998996

999-
- Defaults to 1.
997+
- Defaults to 20.
1000998

1001999
- This value is only enforced when running in production on Cloudflare's network. This limit does not apply during local development, so you may run more instances than specified.
10021000

0 commit comments

Comments
 (0)