Skip to content

Commit a5bfca3

Browse files
committed
docs(ops): state prewarm single-worker and idle TTL requirements
1 parent 85a0992 commit a5bfca3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,8 @@ Use a **separate Sentry project** from html2rss-web (`BOTASAURUS_SENTRY_DSN` →
337337
| `SCRAPE_TIMEOUT_SECONDS` | `45` | Handler wall-clock budget in seconds (queue, browser boot, and work). |
338338
| `SCRAPE_WORK_TIMEOUT_SECONDS` | `30` | Post-boot navigate, selector wait, and scroll budget in seconds. |
339339
| `SCRAPE_RUNTIME_MIN_FREE_BYTES` | `268435456` (256 MiB) | Prune orphan runtime dirs when free space drops below this threshold. |
340-
| `SCRAPE_PREWARM` | `false` | Opt-in single-slot Chromium prewarm. When `true`, fingerprint-matching browser scrapes reuse a spare driver built after the previous scrape. Keep off until canary on `--shm-size=1gb` + `init: true` shows stable RSS. |
341-
| `SCRAPE_PREWARM_IDLE_TTL_SECONDS` | `600` | Close an unused warm spare after this many seconds (`0` = never reap). |
340+
| `SCRAPE_PREWARM` | `false` | Opt-in single-slot Chromium prewarm. When `true`, fingerprint-matching browser scrapes reuse a spare driver built after the previous scrape. Requires **single uvicorn worker** when enabled; multi-worker deployments do not share spare state and worker restarts delete foreign `spare-*` dirs. Keep off until canary on `--shm-size=1gb` + `init: true` shows stable RSS. |
341+
| `SCRAPE_PREWARM_IDLE_TTL_SECONDS` | `600` | Close an unused warm spare after this many seconds. `0` disables idle reap — one Chromium remains in RAM until process exit. |
342342
| `SCRAPE_PREWARM_MIN_REFILL_SECONDS` | `30` | Minimum interval between spare rebuilds. |
343343

344344
## Example Calls

0 commit comments

Comments
 (0)