Skip to content

Commit

Permalink
follow RUN_JOB_NOW
Browse files Browse the repository at this point in the history
  • Loading branch information
rjkoh committed Oct 18, 2024
1 parent 22a5d65 commit 2de0b15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/jobs/codeAnalysisJob.ts
Original file line number Diff line number Diff line change
Expand Up @@ -375,12 +375,12 @@ export const setupCodeAnalysisJob = () => {
});

// To run the job immediately for testing
// if (process.env.RUN_JOB_NOW === 'true') {
if (process.env.RUN_JOB_NOW === 'true') {
console.log('Running fetchAndSaveCodeAnalysisData job');
fetchAndSaveCodeAnalysisData().catch(err => {
console.error('Error running job manually:', err);
});
// }
}
};

export default setupCodeAnalysisJob;

0 comments on commit 2de0b15

Please sign in to comment.