Skip to content

Commit 45162cf

Browse files
authored
fix: nango-github-sync frequency (#3818)
1 parent 78c8242 commit 45162cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

services/apps/cron_service/src/jobs/nangoGithubSync.job.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { IJobDefinition } from '../types'
1818
const job: IJobDefinition = {
1919
name: 'nango-github-sync',
2020
cronTime: CronTime.every(
21-
Number(process.env.CROWD_GH_NANGO_SYNC_INTERVAL_MINUTES || IS_DEV_ENV ? 5 : 60),
21+
Number(process.env.CROWD_GH_NANGO_SYNC_INTERVAL_MINUTES || (IS_DEV_ENV ? 5 : 60)),
2222
).minutes(),
2323
timeout: 4 * 60 * 60, // 4 hours
2424
process: async (ctx) => {

0 commit comments

Comments
 (0)