MOHAN 46d018c56e fix(bikegear): recycle browser context every 20 brands to prevent memory OOM restart
Running Playwright Chromium for 2+ hours with one shared context accumulates
memory until PM2/OOM kills the process with no error. Fix: save cookies and
close/reopen the context every 20 brands so Chromium memory is freed mid-run.
Cookie persistence means the new context resumes with the cf_clearance session.
Override interval with BIKEGEAR_RECYCLE_EVERY env var.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-24 16:27:00 +05:30
2026-05-14 23:57:27 +05:30
2026-04-13 17:31:26 +05:30
2026-04-13 17:31:26 +05:30
2026-04-13 17:31:26 +05:30
2026-06-25 18:57:28 +05:30
2026-04-13 17:31:26 +05:30
Description
No description provided
473 KiB
Languages
JavaScript 100%