mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-02 11:50:37 +08:00
fix: correct tuple unpacking in GitHub polling task queue loop
This commit is contained in:
@ -209,7 +209,7 @@ async def polling_loop():
|
|||||||
max_allowed_parallel_tasks = 10
|
max_allowed_parallel_tasks = 10
|
||||||
if task_queue:
|
if task_queue:
|
||||||
processes = []
|
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)
|
p = multiprocessing.Process(target=func, args=args)
|
||||||
processes.append(p)
|
processes.append(p)
|
||||||
p.start()
|
p.start()
|
||||||
|
Reference in New Issue
Block a user