fixed server tsconfig.json
This commit is contained in:
2
server/trigger.config.d.ts
vendored
Normal file
2
server/trigger.config.d.ts
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
declare const _default: import("@trigger.dev/sdk/v3").TriggerConfig;
|
||||
export default _default;
|
||||
21
server/trigger.config.js
Normal file
21
server/trigger.config.js
Normal file
@@ -0,0 +1,21 @@
|
||||
import { defineConfig } from "@trigger.dev/sdk/v3";
|
||||
export default defineConfig({
|
||||
project: "proj_yqrybepbgrhzmnbaccat",
|
||||
runtime: "node",
|
||||
logLevel: "log",
|
||||
// The max compute seconds a task is allowed to run. If the task run exceeds this duration, it will be stopped.
|
||||
// You can override this on an individual task.
|
||||
// See https://trigger.dev/docs/runs/max-duration
|
||||
maxDuration: 3600,
|
||||
retries: {
|
||||
enabledInDev: true,
|
||||
default: {
|
||||
maxAttempts: 3,
|
||||
minTimeoutInMs: 1000,
|
||||
maxTimeoutInMs: 10000,
|
||||
factor: 2,
|
||||
randomize: true,
|
||||
},
|
||||
},
|
||||
dirs: ["./src/trigger"],
|
||||
});
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
"declaration": true,
|
||||
// "rootDir": "../",
|
||||
"rootDir": "./src",
|
||||
"rootDir": ".",
|
||||
"baseUrl": ".",
|
||||
"outDir": "./dist",
|
||||
"strict": true,
|
||||
|
||||
Reference in New Issue
Block a user