mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-05 02:40:24 +00:00
refactor(browser): split server context and unify CDP transport
This commit is contained in:
9
src/browser/server-context.constants.ts
Normal file
9
src/browser/server-context.constants.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
export const MANAGED_BROWSER_PAGE_TAB_LIMIT = 8;
|
||||
|
||||
export const OPEN_TAB_DISCOVERY_WINDOW_MS = 2000;
|
||||
export const OPEN_TAB_DISCOVERY_POLL_MS = 100;
|
||||
|
||||
export const CDP_READY_AFTER_LAUNCH_WINDOW_MS = 8000;
|
||||
export const CDP_READY_AFTER_LAUNCH_POLL_MS = 100;
|
||||
export const CDP_READY_AFTER_LAUNCH_MIN_TIMEOUT_MS = 75;
|
||||
export const CDP_READY_AFTER_LAUNCH_MAX_TIMEOUT_MS = 250;
|
||||
Reference in New Issue
Block a user