docs: fix BROWSERBASE_SESSION_TIMEOUT unit (ms → seconds)
This commit is contained in:
@ -26,7 +26,7 @@ Optional feature knobs::
|
||||
BROWSERBASE_PROXIES=true # default true
|
||||
BROWSERBASE_ADVANCED_STEALTH=false
|
||||
BROWSERBASE_KEEP_ALIVE=true # default true
|
||||
BROWSERBASE_SESSION_TIMEOUT=... (ms, integer)
|
||||
BROWSERBASE_SESSION_TIMEOUT=... (seconds, integer, max 21600 = 6h)
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
@ -33,8 +33,8 @@ Environment Variables:
|
||||
requires Scale Plan (default: "false")
|
||||
- BROWSERBASE_KEEP_ALIVE: Enable keepAlive for session reconnection after disconnects,
|
||||
requires paid plan (default: "true")
|
||||
- BROWSERBASE_SESSION_TIMEOUT: Custom session timeout in milliseconds. Set to extend
|
||||
beyond project default. Common values: 600000 (10min), 1800000 (30min) (default: none)
|
||||
- BROWSERBASE_SESSION_TIMEOUT: Custom session timeout in seconds (max 21600 = 6h).
|
||||
Set to extend beyond project default. Common values: 600 (10min), 1800 (30min) (default: none)
|
||||
|
||||
Usage:
|
||||
from tools.browser_tool import browser_navigate, browser_snapshot, browser_click
|
||||
|
||||
@ -395,9 +395,9 @@ BROWSERBASE_ADVANCED_STEALTH=false
|
||||
# Session reconnection after disconnects — requires paid plan (default: "true")
|
||||
BROWSERBASE_KEEP_ALIVE=true
|
||||
|
||||
# Custom session timeout in milliseconds (default: project default)
|
||||
# Examples: 600000 (10min), 1800000 (30min)
|
||||
BROWSERBASE_SESSION_TIMEOUT=600000
|
||||
# Custom session timeout in seconds (max 21600 = 6 hours) (default: project default)
|
||||
# Examples: 600 (10min), 1800 (30min), 21600 (6h max)
|
||||
BROWSERBASE_SESSION_TIMEOUT=1800
|
||||
|
||||
# Inactivity timeout before auto-cleanup in seconds (default: 120)
|
||||
BROWSER_INACTIVITY_TIMEOUT=120
|
||||
|
||||
Reference in New Issue
Block a user