Skip to content

Commit

Permalink
Pauses cronjob from picking up failed jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
rcboufleur committed Jan 30, 2025
1 parent 59a2f02 commit b8d77ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/lsst/consdb/efd_transform/transform_efd.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,9 +274,9 @@ async def handle_cronjob(qm: QueueManager, log: logging.Logger, args):
tasks = qm.recent_tasks_to_run(margin_seconds=-60)

# check for failed tasks and add them to the processing queue again
failed_tasks = qm.failed_tasks(args.repo, max_retries=3)
# failed_tasks = qm.failed_tasks(args.repo, max_retries=3)

tasks += failed_tasks
# tasks += failed_tasks

return tasks

Expand Down

0 comments on commit b8d77ab

Please sign in to comment.