Skip to content

Commit 9b2df74

Browse files
feat: Feat increase max timeout to 72h
1 parent 2ab7556 commit 9b2df74

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 66
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-7897c6c3f33d12ebf6cb8b3694945169617631a52af8f5b393b77b1995ed0d72.yml
3-
openapi_spec_hash: 1104c3ba0915f1708d7576345cafa9d0
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-d611cf8b0301a07123eab0e92498bea5ad69c5292b28aca1016c362cca0a0564.yml
3+
openapi_spec_hash: 6d30f4ad9d61a7da8a75d543cf3d3d75
44
config_hash: 9421eb86b7f3f4b274f123279da3858e

src/kernel/resources/browsers/browsers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def create(
167167
timeout_seconds: The number of seconds of inactivity before the browser session is terminated.
168168
Only applicable to non-persistent browsers. Activity includes CDP connections
169169
and live view connections. Defaults to 60 seconds. Minimum allowed is 10
170-
seconds. Maximum allowed is 86400 (24 hours). We check for inactivity every 5
170+
seconds. Maximum allowed is 259200 (72 hours). We check for inactivity every 5
171171
seconds, so the actual timeout behavior you will see is +/- 5 seconds around the
172172
specified value.
173173
@@ -475,7 +475,7 @@ async def create(
475475
timeout_seconds: The number of seconds of inactivity before the browser session is terminated.
476476
Only applicable to non-persistent browsers. Activity includes CDP connections
477477
and live view connections. Defaults to 60 seconds. Minimum allowed is 10
478-
seconds. Maximum allowed is 86400 (24 hours). We check for inactivity every 5
478+
seconds. Maximum allowed is 259200 (72 hours). We check for inactivity every 5
479479
seconds, so the actual timeout behavior you will see is +/- 5 seconds around the
480480
specified value.
481481

src/kernel/types/browser_create_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class BrowserCreateParams(TypedDict, total=False):
5959
6060
Only applicable to non-persistent browsers. Activity includes CDP connections
6161
and live view connections. Defaults to 60 seconds. Minimum allowed is 10
62-
seconds. Maximum allowed is 86400 (24 hours). We check for inactivity every 5
62+
seconds. Maximum allowed is 259200 (72 hours). We check for inactivity every 5
6363
seconds, so the actual timeout behavior you will see is +/- 5 seconds around the
6464
specified value.
6565
"""

0 commit comments

Comments
 (0)