Skip to content

Commit 8bdba37

Browse files
improvement(function): timeout increase to 5 min (#3040)
1 parent c8ffda1 commit 8bdba37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/sim/lib/execution/isolated-vm-worker.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const ivm = require('isolated-vm')
88
const USER_CODE_START_LINE = 4
99
const pendingFetches = new Map()
1010
let fetchIdCounter = 0
11-
const FETCH_TIMEOUT_MS = 30000
11+
const FETCH_TIMEOUT_MS = 300000 // 5 minutes
1212

1313
/**
1414
* Extract line and column from error stack or message

0 commit comments

Comments
 (0)