← back to Commercialrealestate
CRCP refresh-all: Browserbase 30-min TTL + proxies — fixes multi-city sweep timing out at 5m and killing later gotos
84870a44125c0a818e1e3aa78c15c06f928dd703 · 2026-08-20 15:54:34 -0700 · Steve
Files touched
Diff
commit 84870a44125c0a818e1e3aa78c15c06f928dd703
Author: Steve <steve@designerwallcoverings.com>
Date: Thu Aug 20 15:54:34 2026 -0700
CRCP refresh-all: Browserbase 30-min TTL + proxies — fixes multi-city sweep timing out at 5m and killing later gotos
---
scripts/refresh-all.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/scripts/refresh-all.js b/scripts/refresh-all.js
index 7a1c075..5fec70e 100644
--- a/scripts/refresh-all.js
+++ b/scripts/refresh-all.js
@@ -46,6 +46,8 @@ const SELECTED = process.env.CC_FIRMS
const bb = new Browserbase({ apiKey: get(bbEnv, 'BROWSERBASE_API_KEY') });
const session = await bb.sessions.create({
projectId: get(bbEnv, 'BROWSERBASE_PROJECT_ID'),
+ timeout: 1800, // 30-min TTL headroom — the full multi-city sweep exceeds the ~5-min default (prior run TIMED_OUT at 5m05s → every later goto hit a dead browser). NO keepAlive: session must end on browser.close() so we bill only for actual runtime, not the full TTL.
+ proxies: true, // match the proven solveCaptchas pattern (captcha-solve is provisioned on the proxied path)
browserSettings: { solveCaptchas: true, viewport: { width: 1440, height: 1000 } }
});
console.log('bb session', session.id);
← 111d4f3 auto-data-snapshot: 2026-08-20T15:43:22 (2 data files) — dat
·
back to Commercialrealestate
·
CRCP: add self-provisioning CTA health runner (TK-10753) — m 78cb8e7 →