RunnerArguments: add pipeline_idle_timeout_secs

This commit is contained in:
Aleix Conchillo Flaqué
2025-08-06 19:35:40 -07:00
parent ad1841b739
commit 0b2b9f5f1b
2 changed files with 4 additions and 1 deletions

View File

@@ -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.

View File

@@ -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