From cc7e35e299e29314e3bb7a1ec425a315ba76c47b Mon Sep 17 00:00:00 2001 From: Michael Hansen Date: Tue, 3 Oct 2023 12:41:00 -0500 Subject: [PATCH] Increase pipeline timeout to 5 minutes (#101327) --- .../assist_pipeline/websocket_api.py | 4 ++-- .../snapshots/test_websocket.ambr | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/homeassistant/components/assist_pipeline/websocket_api.py b/homeassistant/components/assist_pipeline/websocket_api.py index f57424223cf..798843ea6e3 100644 --- a/homeassistant/components/assist_pipeline/websocket_api.py +++ b/homeassistant/components/assist_pipeline/websocket_api.py @@ -30,8 +30,8 @@ from .pipeline import ( async_get_pipeline, ) -DEFAULT_TIMEOUT = 30 -DEFAULT_WAKE_WORD_TIMEOUT = 3 +DEFAULT_TIMEOUT = 60 * 5 # seconds +DEFAULT_WAKE_WORD_TIMEOUT = 3 # seconds _LOGGER = logging.getLogger(__name__) diff --git a/tests/components/assist_pipeline/snapshots/test_websocket.ambr b/tests/components/assist_pipeline/snapshots/test_websocket.ambr index 044e7758eb2..7cecf9fed40 100644 --- a/tests/components/assist_pipeline/snapshots/test_websocket.ambr +++ b/tests/components/assist_pipeline/snapshots/test_websocket.ambr @@ -5,7 +5,7 @@ 'pipeline': , 'runner_data': dict({ 'stt_binary_handler_id': 1, - 'timeout': 30, + 'timeout': 300, }), }) # --- @@ -86,7 +86,7 @@ 'pipeline': , 'runner_data': dict({ 'stt_binary_handler_id': 1, - 'timeout': 30, + 'timeout': 300, }), }) # --- @@ -179,7 +179,7 @@ 'pipeline': , 'runner_data': dict({ 'stt_binary_handler_id': 1, - 'timeout': 30, + 'timeout': 300, }), }) # --- @@ -359,7 +359,7 @@ 'pipeline': , 'runner_data': dict({ 'stt_binary_handler_id': 1, - 'timeout': 30, + 'timeout': 300, }), }) # --- @@ -460,7 +460,7 @@ 'pipeline': , 'runner_data': dict({ 'stt_binary_handler_id': 1, - 'timeout': 30, + 'timeout': 300, }), }) # --- @@ -491,7 +491,7 @@ 'pipeline': , 'runner_data': dict({ 'stt_binary_handler_id': None, - 'timeout': 30, + 'timeout': 300, }), }) # --- @@ -564,7 +564,7 @@ 'pipeline': , 'runner_data': dict({ 'stt_binary_handler_id': 1, - 'timeout': 30, + 'timeout': 300, }), }) # --- @@ -590,7 +590,7 @@ 'pipeline': , 'runner_data': dict({ 'stt_binary_handler_id': None, - 'timeout': 30, + 'timeout': 300, }), }) # --- @@ -640,7 +640,7 @@ 'pipeline': , 'runner_data': dict({ 'stt_binary_handler_id': None, - 'timeout': 30, + 'timeout': 300, }), }) # ---