From 9a6a03317539d7a7bccf780f78955fb51d866391 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?The=CC=81o=20Monnom?= Date: Fri, 13 Sep 2024 14:47:09 -0700 Subject: [PATCH 1/2] Update proc_pool.py --- livekit-agents/livekit/agents/ipc/proc_pool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/livekit-agents/livekit/agents/ipc/proc_pool.py b/livekit-agents/livekit/agents/ipc/proc_pool.py index f4fe40634..5713956a5 100644 --- a/livekit-agents/livekit/agents/ipc/proc_pool.py +++ b/livekit-agents/livekit/agents/ipc/proc_pool.py @@ -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]): From abd66d03d21ab794ee0988a49461ded118b9a6b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Monnom?= Date: Fri, 13 Sep 2024 14:47:59 -0700 Subject: [PATCH 2/2] Create quiet-eagles-add.md --- .changeset/quiet-eagles-add.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/quiet-eagles-add.md diff --git a/.changeset/quiet-eagles-add.md b/.changeset/quiet-eagles-add.md new file mode 100644 index 000000000..957be5006 --- /dev/null +++ b/.changeset/quiet-eagles-add.md @@ -0,0 +1,5 @@ +--- +"livekit-agents": patch +--- + +limit concurrent process init to 1