File tree Expand file tree Collapse file tree
apps/web/src/app/(docs)/docs/sdk-reference/js-sdk/v1.13.0 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -313,7 +313,7 @@ Timeout for requests to the API in **milliseconds**.
313313###### Default
314314
315315``` ts
316- 30_000 // 30 seconds
316+ 60_000 // 60 seconds
317317```
318318
319319***
@@ -408,7 +408,7 @@ Timeout for requests to the API in **milliseconds**.
408408###### Default
409409
410410``` ts
411- 30_000 // 30 seconds
411+ 60_000 // 60 seconds
412412```
413413
414414### timeoutMs?
Original file line number Diff line number Diff line change @@ -450,7 +450,7 @@ Timeout for requests to the API in **milliseconds**.
450450###### Default
451451
452452``` ts
453- 30_000 // 30 seconds
453+ 60_000 // 60 seconds
454454```
455455
456456### user?
@@ -486,7 +486,7 @@ Timeout for requests to the API in **milliseconds**.
486486###### Default
487487
488488``` ts
489- 30_000 // 30 seconds
489+ 60_000 // 60 seconds
490490```
491491
492492### user?
@@ -543,7 +543,7 @@ Timeout for requests to the API in **milliseconds**.
543543###### Default
544544
545545``` ts
546- 30_000 // 30 seconds
546+ 60_000 // 60 seconds
547547```
548548
549549### timeoutMs?
Original file line number Diff line number Diff line change @@ -586,7 +586,7 @@ Timeout for requests to the API in **milliseconds**.
586586###### Default
587587
588588``` ts
589- 30_000 // 30 seconds
589+ 60_000 // 60 seconds
590590```
591591
592592### secure?
Original file line number Diff line number Diff line change 11import { Logger } from './logs'
2- import { getEnvVar , version } from './api/metadata'
2+ import { getEnvVar , version } from './api/metadata'
33
4- const REQUEST_TIMEOUT_MS = 30_000 // 30 seconds
4+ const REQUEST_TIMEOUT_MS = 60_000 // 60 seconds
55export const KEEPALIVE_PING_INTERVAL_SEC = 50 // 50 seconds
66
77export const KEEPALIVE_PING_HEADER = 'Keepalive-Ping-Interval'
@@ -37,7 +37,7 @@ export interface ConnectionOpts {
3737 /**
3838 * Timeout for requests to the API in **milliseconds**.
3939 *
40- * @default 30_000 // 30 seconds
40+ * @default 60_000 // 60 seconds
4141 */
4242 requestTimeoutMs ?: number
4343 /**
Original file line number Diff line number Diff line change 55
66from e2b .api .metadata import package_version
77
8- REQUEST_TIMEOUT : float = 30 .0 # 30 seconds
8+ REQUEST_TIMEOUT : float = 60 .0 # 60 seconds
99
1010KEEPALIVE_PING_INTERVAL_SEC = 50 # 50 seconds
1111KEEPALIVE_PING_HEADER = "Keepalive-Ping-Interval"
You can’t perform that action at this time.
0 commit comments