mirror of
https://github.com/katanemo/plano.git
synced 2026-06-17 15:25:17 +02:00
stream logs in case of timeout
This commit is contained in:
parent
adda6aaa57
commit
cd85e857aa
1 changed files with 1 additions and 0 deletions
|
|
@ -103,6 +103,7 @@ def start_arch(arch_config_file, env, log_timeout=120, foreground=False):
|
|||
# Check if timeout is reached
|
||||
if elapsed_time > log_timeout:
|
||||
log.info(f"stopping log monitoring after {log_timeout} seconds.")
|
||||
stream_gateway_logs(follow=False)
|
||||
sys.exit(1)
|
||||
|
||||
if prompt_gateway_health_check_status or llm_gateway_health_check_status:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue