7b1159eb45
* run engine v1: orgs are no longer considered for concurrency * Add reserve concurrency concept to allow waiting to resume parent tasks to release concurrency at the env level for child tasks to use (or else there is a deadlock). WIP recursive tasks * child tasks inherit the queue timestamp from their parent tasks to prioritize completing child tasks based on when their parent started * handle reserve concurrency with recursive deadlocks * Finish docs update for concurrency * Some fixes from badge conflict resolution * WIP priority queues * Implement MarQS priority queues * Fix the migrations
20 lines
403 B
TypeScript
20 lines
403 B
TypeScript
import { defineConfig } from "@trigger.dev/sdk/v3";
|
|
|
|
export default defineConfig({
|
|
runtime: "node",
|
|
project: "proj_qwdshjjnuoepcuupfuvo",
|
|
machine: "small-1x",
|
|
maxDuration: 3600,
|
|
dirs: ["./src/trigger"],
|
|
retries: {
|
|
enabledInDev: true,
|
|
default: {
|
|
maxAttempts: 10,
|
|
minTimeoutInMs: 5_000,
|
|
maxTimeoutInMs: 30_000,
|
|
factor: 2,
|
|
randomize: true,
|
|
},
|
|
},
|
|
});
|