Skip to content

Commit 348b524

Browse files
fix(api-timeout): increase timeout for API block to 2 min (#677)
1 parent 0361397 commit 348b524

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/sim/tools/http/request.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ export const requestTool: ToolConfig<RequestParams, RequestResponse> = {
312312

313313
// Handle timeout
314314
const controller = new AbortController()
315-
const timeout = params.timeout || 50000
315+
const timeout = params.timeout || 120000
316316
const timeoutId = setTimeout(() => controller.abort(), timeout)
317317
fetchOptions.signal = controller.signal
318318

0 commit comments

Comments
 (0)