mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-02 03:40:38 +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
|
||||
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()
|
||||
|
Reference in New Issue
Block a user