new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Cloudflare Workers · Wrangler · all subjects

edge cases & limits

5 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Worker name character restrictions for workers.dev

When deploying a Worker with a workers.dev subdomain enabled, the Worker name must be 63 characters or less, contain only alphanumeric characters (a-z, A-Z, 0-9) and dashes (-), and cannot start or end with a dash. These restrictions apply because the Worker name is used as a DNS label in the workers.dev URL, and DNS labels have a maximum length of 63 characters and cannot begin or end with a dash.

Worker names without workers.dev subdomain

Worker names can be up to 255 characters when not using a workers.dev subdomain. If you need a longer name, you can disable workers.dev and use routes or custom domains instead.

cpu_ms limit field

The maximum CPU time allowed per invocation, in milliseconds. Type: number, optional. Can be set to a maximum of 300,000 milliseconds (5 minutes).

subrequests limit field

The maximum number of subrequests allowed per invocation. This value defaults to 50 for free accounts and 10,000 for paid accounts. The free account maximum is 50 and the paid account maximum is 10,000,000. Type: number, optional.

Limits configuration example

Example of limits configuration: { "limits": { "cpu_ms": 100, "subrequests": 150 } }

Give your agent this brain