Merge branch 'fix/review-2109' into fix/community-integration
This commit is contained in:
@@ -628,7 +628,7 @@ def generate_timeout_s(
|
||||
base = max(base, sidecar_timeout)
|
||||
sidecar_grace = 5.0 if _include_sidecar_grace else 0.0
|
||||
except (TypeError, ValueError):
|
||||
pass
|
||||
pass # Invalid optional engine metadata cannot disable the outer guard.
|
||||
|
||||
return base + (max(0, len(text or "") - 1200) / 40.0) + sidecar_grace
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ omission, which is the part #1611 could not do by fixing one engine.
|
||||
import pytest
|
||||
|
||||
from engines.omnivoice_subprocess import OmniVoiceSubprocessBackend
|
||||
from services.model_manager import CPU_JOB_TIMEOUT_S, GPU_JOB_TIMEOUT_S
|
||||
from services.model_manager import GPU_JOB_TIMEOUT_S
|
||||
from services.subprocess_backend import (
|
||||
GENERATE_RECV_TIMEOUT_S,
|
||||
RECV_TIMEOUT_S,
|
||||
|
||||
Reference in New Issue
Block a user