examples(foundational): use RunnerArgs.pipeline_idle_timeout_secs

This commit is contained in:
Aleix Conchillo Flaqué
2025-08-06 19:38:06 -07:00
parent 38951aab56
commit 786f24c9db
140 changed files with 202 additions and 21 deletions

View File

@@ -143,7 +143,10 @@ async def run_bot(transport: BaseTransport, runner_args: RunnerArguments):
]
)
task = PipelineTask(pipeline)
task = PipelineTask(
pipeline,
idle_timeout_secs=runner_args.pipeline_idle_timeout_secs,
)
@transport.event_handler("on_client_connected")
async def on_client_connected(transport, client):