Commit 1e381fb
committed
docs(queue): document the real constraint on the hosted queue's tuning
#4892 asked to make the hosted loopover-jobs queue's Cloudflare Queues
consumer settings (max_batch_size/max_concurrency/max_retries/retry_delay)
runtime-configurable and re-derive better defaults. Neither half is
actually achievable right now: these are consumer-binding attributes
Cloudflare's control plane reads at `wrangler deploy` time, before any
Worker code runs -- there's no env-var override mechanism for them, and
re-deriving new defaults needs real production job-volume data this
worktree has no access to.
What's real and worth doing: the existing comment justified the current
values against one specific repo's historical incident (#1283,
"metagraphed's worst sweep"). Rewrites it as a durable, formula-based
constraint (max_batch_size × max_concurrency bounds concurrent in-flight
GitHub calls against one installation's rate-limit headroom) so a future
re-tune starts from a stated principle instead of one repo's sizing.
No literal value changed -- verified via `wrangler deploy --dry-run`.
Advances #48921 parent cc3a201 commit 1e381fb
1 file changed
Lines changed: 22 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
306 | 320 | | |
307 | | - | |
308 | | - | |
309 | | - | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
310 | 329 | | |
311 | 330 | | |
312 | 331 | | |
| |||
0 commit comments