Skip to content

Commit

Permalink
add the task manager id to the resume task
Browse files Browse the repository at this point in the history
  • Loading branch information
jefer94 committed Sep 23, 2023
1 parent 82dc953 commit acde1fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion breathecode/commons/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ def mark_task_as_pending(task_manager_id, *, attempts=0, force=False, last_run=N
function.delay(*x.arguments['args'],
**x.arguments['kwargs'],
page=x.current_page + 1,
total_pages=x.total_pages)
total_pages=x.total_pages,
task_manager_id=task_manager_id)

logger.info(f'TaskManager {task_manager_id} is PENDING')

0 comments on commit acde1fb

Please sign in to comment.