Skip to content

Commit

Permalink
Merge commit '357641401319a120351f3be48ca57c40dedd42a0' into single-r…
Browse files Browse the repository at this point in the history
…equest-logger
  • Loading branch information
sirpy committed Sep 22, 2020
2 parents 5951039 + 3576414 commit 05b0710
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/cron/TaskRunner.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ class TaskRunner {
const nextTry = moment().add(1, 'hours')
logger.info('task lock timeout,probably other worker is doing it, retrying later', { taskName, nextTry })
taskJob.setTime(new CronTime(nextTry))
taskJob.start()
return
}
logger.error('Cron task failed', errMessage, exception, { taskName })
Expand Down

0 comments on commit 05b0710

Please sign in to comment.