Skip to content

Commit

Permalink
fix: aggressive warming to fix trigger cold starts
Browse files Browse the repository at this point in the history
  • Loading branch information
rrojan committed Feb 10, 2025
1 parent 6ff3ecc commit 1f10853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jobs/keep-alive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { schedules } from '@trigger.dev/sdk/v3'
export const keepAlive = schedules.task({
id: 'keep-alive',
maxDuration: 10,
cron: '*/5 * * * *', // Run every 5 minutes
cron: '* * * * *', // Run every 1 minutes till trigger gets their shiz together
run: async () => {
return { message: 'Worker is warm' }
},
Expand Down

0 comments on commit 1f10853

Please sign in to comment.