Repository navigation
One new setting, and Node sites can run far more checks a minute. You can upgrade straight from any earlier release, with no release in between. There are no new secrets or migrations, and the upgrade signs nobody out.
More checks a minute on Node
-
New
limits.checkConcurrency: how many HTTP and TCP checks run at the same time. Until now it was fixed at 5 everywhere, because a Cloudflare Worker can open only 6 outbound connections at once. Node had the same cap, so a tick with slow targets ran out of time long before it ran out of memory. -
Defaults: 5 on Cloudflare Workers (at most 6), 50 on Node (at most 500).
-
limits.maxChecksPerTickon Node: now up to 10000, and the default is 1000. Workers keep the 1000-subrequest cap and the default of 35. -
Measured on Node, with targets that answer in 500 ms: 1000 checks took about 10 s at 50 in parallel and peaked near 300 MB. 5000 checks took about 6 s at 500 in parallel and peaked near 530 MB. A 1 GB VPS can run several thousand checks a minute:
limits: checkConcurrency: 200 maxChecksPerTick: 5000 tickBudgetMs: 45000
-
On a Worker, saving a value past the Workers limits is refused. A configuration saved on Node still loads on a Worker: the values are lowered to the Workers limits, and Settings shows a warning.
-
npm run cli -- config checkchecks against the Workers limits by default. Add--runtime nodefor a Node site.
Fixes
- The daily certificate-expiry check now uses the scheduler's clock for crt.sh lookups, the same as the rest of the check.
Full changelog: v0.3.22...v0.3.23