From 0b2b9f5f1b639fe1f92f62815dbd5c1c799a9ca4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Conchillo=20Flaqu=C3=A9?= Date: Wed, 6 Aug 2025 19:35:40 -0700 Subject: [PATCH] RunnerArguments: add pipeline_idle_timeout_secs --- CHANGELOG.md | 3 ++- src/pipecat/runner/types.py | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 46a4082eb..4c4fc6831 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Added new `handle_sigint` and `handle_sigterm` to `RunnerArguments`. This allows applications to know what settings they should use for the environment - they are running on. + they are running on. Also, added `pipeline_idle_timeout_secs` to be able to + control the `PipelineTask` idle timeout. - Added `processor` field to `ErrorFrame` to indicate `FrameProcessor` that generated the error. diff --git a/src/pipecat/runner/types.py b/src/pipecat/runner/types.py index 39c4b7009..1d4312e99 100644 --- a/src/pipecat/runner/types.py +++ b/src/pipecat/runner/types.py @@ -22,10 +22,12 @@ class RunnerArguments: handle_sigint: bool = field(init=False) handle_sigterm: bool = field(init=False) + pipeline_idle_timeout_secs: int = field(init=False) def __post_init__(self): self.handle_sigint = True self.handle_sigterm = False + self.pipeline_idle_timeout_secs = 300 @dataclass