09d0e80804
* Sentry WIP * Configure sentry for uploading and releasing during the publish webapp step * Delete source maps after uploading * Forward logger.error calls to sentry through Logger.onError * Couple tweaks to the dockerfile
23 lines
470 B
TypeScript
23 lines
470 B
TypeScript
import { defineConfig } from "@trigger.dev/sdk/v3";
|
|
|
|
export default defineConfig({
|
|
project: process.env.TRIGGER_PROJECT_REF!,
|
|
experimental_processKeepAlive: {
|
|
enabled: true,
|
|
maxExecutionsPerProcess: 20,
|
|
},
|
|
logLevel: "log",
|
|
maxDuration: 3600,
|
|
retries: {
|
|
enabledInDev: true,
|
|
default: {
|
|
maxAttempts: 3,
|
|
minTimeoutInMs: 1000,
|
|
maxTimeoutInMs: 10000,
|
|
factor: 2,
|
|
randomize: true,
|
|
},
|
|
},
|
|
machine: "small-2x",
|
|
});
|