From da0c4cfd99584269bde678e470b3f0abed757382 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Conchillo=20Flaqu=C3=A9?= Date: Fri, 17 Jan 2025 10:04:05 -0800 Subject: [PATCH] task: increase heartbeat monitoring to 5 seconds --- src/pipecat/pipeline/task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pipecat/pipeline/task.py b/src/pipecat/pipeline/task.py index f0e2089e4..a77997d08 100644 --- a/src/pipecat/pipeline/task.py +++ b/src/pipecat/pipeline/task.py @@ -350,7 +350,7 @@ class PipelineTask: takes for the heartbeat frame to traverse all the pipeline. """ - wait_time = HEARTBEAT_SECONDS * 2 + wait_time = HEARTBEAT_SECONDS * 5 while True: try: frame = await asyncio.wait_for(self._heartbeat_queue.get(), timeout=wait_time)