Skip to content

Commit 199bdd4

Browse files
committed
update containers max_instances default to 20
1 parent 6179b21 commit 199bdd4

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

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

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -993,10 +993,10 @@ The following options are available:
993993

994994
- `max_instances` <Type text="string" /> <MetaInfo text="optional" />
995995
- 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.
996+
request to run a container than this number, the container request will error. Stopped containers do not count towards this -
997+
you may have more containers than this number overall, but only this many active containers at once.
998998

999-
- Defaults to 1.
999+
- Defaults to 20.
10001000

10011001
- 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.
10021002

@@ -1403,12 +1403,13 @@ A common example of using a redirected configuration is where a custom build too
14031403
It also creates a `.wrangler/deploy/config.json` file that redirects Wrangler to the new, generated deployment configuration file:
14041404

14051405
<FileTree>
1406-
- dist
1407-
- index.js
1408-
- wrangler.jsonc
1409-
- .wrangler
1410-
- deploy
1411-
- config.json
1406+
1407+
- dist
1408+
- index.js
1409+
- wrangler.jsonc
1410+
- .wrangler
1411+
- deploy
1412+
- config.json
14121413

14131414
</FileTree>
14141415

0 commit comments

Comments
 (0)