Skip to content

Commit 8268ed7

Browse files
committed
test: upgrade e2b & use edge runtime for fs watching
1 parent 6fb546f commit 8268ed7

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

bun.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
"clsx": "^2.1.1",
8080
"cmdk": "^1.0.4",
8181
"date-fns": "^4.1.0",
82-
"e2b": "^1.5.3",
82+
"e2b": "^1.7.0",
8383
"fast-xml-parser": "^4.5.1",
8484
"fumadocs-core": "^15.0.6",
8585
"fumadocs-mdx": "^11.5.3",

src/app/api/sandboxes/[id]/watch/route.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { VERBOSE } from '@/configs/flags'
66
import { logDebug } from '@/lib/clients/logger'
77

88
export const maxDuration = 600 // 10 minutes
9+
export const runtime = 'edge'
910

1011
/**
1112
* SSE endpoint that streams filesystem events for a sandbox directory.

0 commit comments

Comments
 (0)