mirror of
https://github.com/simstudioai/sim.git
synced 2026-02-04 19:55:08 -05:00
* feat(timeouts): execution timeout limits * fix type issues * add to docs * update stale exec cleanup route * update more callsites * update tests * address bugbot comments * remove import expression * support streaming and async paths' * fix streaming path * add hitl and workflow handler * make sync path match * consolidate * timeout errors * validation errors typed * import order * Merge staging into feat/timeout-lims Resolved conflicts: - stt/route.ts: Keep both execution timeout and security imports - textract/parse/route.ts: Keep both execution timeout and validation imports - use-workflow-execution.ts: Keep cancellation console entry from feature branch - input-validation.ts: Remove server functions (moved to .server.ts in staging) - tools/index.ts: Keep execution timeout, use .server import for security * make run from block consistent * revert console update change * fix subflow errors * clean up base 64 cache correctly * update docs * consolidate workflow execution and run from block hook code * remove unused constant * fix cleanup base64 sse * fix run from block tracespan
25 lines
524 B
TypeScript
25 lines
524 B
TypeScript
import { additionalPackages } from '@trigger.dev/build/extensions/core'
|
|
import { defineConfig } from '@trigger.dev/sdk'
|
|
import { env } from './lib/core/config/env'
|
|
|
|
export default defineConfig({
|
|
project: env.TRIGGER_PROJECT_ID!,
|
|
runtime: 'node',
|
|
logLevel: 'log',
|
|
maxDuration: 5400,
|
|
retries: {
|
|
enabledInDev: false,
|
|
default: {
|
|
maxAttempts: 1,
|
|
},
|
|
},
|
|
dirs: ['./background'],
|
|
build: {
|
|
extensions: [
|
|
additionalPackages({
|
|
packages: ['unpdf', 'pdf-lib'],
|
|
}),
|
|
],
|
|
},
|
|
})
|