fix: increase tool execution timeout to 5 minutes
Tools like discord-read that fetch data from external APIs need more time. Previous 10-30 second timeout was causing silent failures. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
8bbde047b5
commit
41cbeefabb
2 changed files with 2 additions and 2 deletions
|
|
@ -13,7 +13,7 @@ import type {
|
|||
ExecutorHealthResponse,
|
||||
} from '@tpmjs/types/executor';
|
||||
|
||||
const DEFAULT_TIMEOUT = 30000; // 30 seconds for custom executors
|
||||
const DEFAULT_TIMEOUT = 300000; // 5 minutes for custom executors
|
||||
|
||||
/**
|
||||
* Resolve executor configuration using cascade:
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
import type { ExecutionResult, ExecutorOptions } from './types.js';
|
||||
|
||||
const DEFAULT_TIMEOUT = 10000; // 10 seconds
|
||||
const DEFAULT_TIMEOUT = 300000; // 5 minutes - some tools need significant time
|
||||
|
||||
// Get sandbox URL at runtime (not build time) for serverless environments
|
||||
function getSandboxUrl(): string {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue