File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,7 @@ export const env = createEnv({
103103 DOCKER_BUILD : z . boolean ( ) . optional ( ) , // Flag indicating Docker build environment
104104
105105 // Background Jobs & Scheduling
106+ TRIGGER_PROJECT_ID : z . string ( ) . optional ( ) , // Trigger.dev project ID
106107 TRIGGER_SECRET_KEY : z . string ( ) . min ( 1 ) . optional ( ) , // Trigger.dev secret key for background jobs
107108 TRIGGER_DEV_ENABLED : z . boolean ( ) . optional ( ) , // Toggle to enable/disable Trigger.dev for async jobs
108109 CRON_SECRET : z . string ( ) . optional ( ) , // Secret for authenticating cron job requests
Original file line number Diff line number Diff line change 11import { defineConfig } from '@trigger.dev/sdk'
2+ import { env } from './lib/env'
23
34export default defineConfig ( {
4- project : 'proj_kufttkwzywcydwtccqhx ',
5+ project : env . TRIGGER_PROJECT_ID ?? ' ',
56 runtime : 'node' ,
67 logLevel : 'log' ,
7- maxDuration : 180 ,
8+ maxDuration : 600 ,
89 retries : {
910 enabledInDev : false ,
1011 default : {
You can’t perform that action at this time.
0 commit comments