Skip to content

Commit

Permalink
limit concurrent process init to 1 (#751)
Browse files Browse the repository at this point in the history
  • Loading branch information
theomonnom authored Sep 14, 2024
1 parent 37f3d46 commit 9cb6618
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/quiet-eagles-add.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"livekit-agents": patch
---

limit concurrent process init to 1
2 changes: 1 addition & 1 deletion livekit-agents/livekit/agents/ipc/proc_pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"process_created", "process_started", "process_ready", "process_closed"
]

MAX_CONCURRENT_INITIALIZATIONS = 3
MAX_CONCURRENT_INITIALIZATIONS = 1


class ProcPool(utils.EventEmitter[EventTypes]):
Expand Down

0 comments on commit 9cb6618

Please sign in to comment.