Skip to content

Commit

Permalink
fix: correct tuple unpacking in GitHub polling task queue loop
Browse files Browse the repository at this point in the history
  • Loading branch information
mrT23 committed Sep 5, 2024
1 parent b02fa22 commit c8f1c03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pr_agent/servers/github_polling.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ async def polling_loop():
max_allowed_parallel_tasks = 10
if task_queue:
processes = []
for i, func, args in enumerate(task_queue): # Create parallel tasks
for i, (func, args) in enumerate(task_queue): # Create parallel tasks
p = multiprocessing.Process(target=func, args=args)
processes.append(p)
p.start()
Expand Down

0 comments on commit c8f1c03

Please sign in to comment.