[Lindorm VDB] Add the QUERY_TIMEOUT parameter to force the search query to fail. (#18613)

Co-authored-by: jiangzhijie <jiangzhijie.jzj@alibaba-inc.com>
This commit is contained in:
Jiang
2025-04-25 09:42:58 +08:00
committed by GitHub
parent 759584f8c5
commit 37e2f73909
5 changed files with 10 additions and 4 deletions

View File

@@ -32,3 +32,4 @@ class LindormConfig(BaseSettings):
description="Using UGC index will store the same type of Index in a single index but can retrieve separately.",
default=False,
)
LINDORM_QUERY_TIMEOUT: Optional[float] = Field(description="The lindorm search request timeout (s)", default=2.0)