From c68c614a5732dafa110585cec46d48e5c0c5f4ba Mon Sep 17 00:00:00 2001 From: akalitenya Date: Fri, 13 Feb 2026 05:01:18 +0500 Subject: [PATCH] fix timeout for e2b (docs) --- docs/deploy/e2b.mdx | 2 +- examples/e2b/src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/deploy/e2b.mdx b/docs/deploy/e2b.mdx index e2d5922..f7ac7ba 100644 --- a/docs/deploy/e2b.mdx +++ b/docs/deploy/e2b.mdx @@ -29,7 +29,7 @@ await sandbox.commands.run("sandbox-agent install-agent codex"); await sandbox.commands.run( "sandbox-agent server --no-token --host 0.0.0.0 --port 3000", - { background: true } + { background: true, timeoutMs: 0 } ); const baseUrl = `https://${sandbox.getHost(3000)}`; diff --git a/examples/e2b/src/index.ts b/examples/e2b/src/index.ts index 143d215..48fcc01 100644 --- a/examples/e2b/src/index.ts +++ b/examples/e2b/src/index.ts @@ -23,7 +23,7 @@ await run("sandbox-agent install-agent claude"); await run("sandbox-agent install-agent codex"); console.log("Starting server..."); -await sandbox.commands.run("sandbox-agent server --no-token --host 0.0.0.0 --port 3000", { background: true }); +await sandbox.commands.run("sandbox-agent server --no-token --host 0.0.0.0 --port 3000", { background: true, timeoutMs: 0 }); const baseUrl = `https://${sandbox.getHost(3000)}`;