From 369f3c6f477370be9cd0aaae47caf6573d2be095 Mon Sep 17 00:00:00 2001 From: "min.tian" Date: Tue, 29 Oct 2024 14:55:35 +0800 Subject: [PATCH] increase timeout Signed-off-by: min.tian --- vectordb_bench/__init__.py | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/vectordb_bench/__init__.py b/vectordb_bench/__init__.py index f7664502f..f81c9bb3f 100644 --- a/vectordb_bench/__init__.py +++ b/vectordb_bench/__init__.py @@ -37,23 +37,24 @@ class config: K_DEFAULT = 100 # default return top k nearest neighbors during search CUSTOM_CONFIG_DIR = pathlib.Path(__file__).parent.joinpath("custom/custom_case.json") - CAPACITY_TIMEOUT_IN_SECONDS = 24 * 3600 # 24h - LOAD_TIMEOUT_DEFAULT = 2.5 * 3600 # 2.5h - LOAD_TIMEOUT_768D_1M = 2.5 * 3600 # 2.5h - LOAD_TIMEOUT_768D_10M = 25 * 3600 # 25h - LOAD_TIMEOUT_768D_100M = 250 * 3600 # 10.41d + CAPACITY_TIMEOUT_IN_SECONDS = 24 * 3600 # 24h + LOAD_TIMEOUT_DEFAULT = 24 * 3600 # 24h + LOAD_TIMEOUT_768D_1M = 24 * 3600 # 24h + LOAD_TIMEOUT_768D_10M = 240 * 3600 # 10d + LOAD_TIMEOUT_768D_100M = 2400 * 3600 # 100d - LOAD_TIMEOUT_1536D_500K = 2.5 * 3600 # 2.5h - LOAD_TIMEOUT_1536D_5M = 25 * 3600 # 25h + LOAD_TIMEOUT_1536D_500K = 24 * 3600 # 24h + LOAD_TIMEOUT_1536D_5M = 240 * 3600 # 10d - OPTIMIZE_TIMEOUT_DEFAULT = 30 * 60 # 30min - OPTIMIZE_TIMEOUT_768D_1M = 30 * 60 # 30min - OPTIMIZE_TIMEOUT_768D_10M = 5 * 3600 # 5h - OPTIMIZE_TIMEOUT_768D_100M = 50 * 3600 # 50h + OPTIMIZE_TIMEOUT_DEFAULT = 24 * 3600 # 24h + OPTIMIZE_TIMEOUT_768D_1M = 24 * 3600 # 24h + OPTIMIZE_TIMEOUT_768D_10M = 240 * 3600 # 10d + OPTIMIZE_TIMEOUT_768D_100M = 2400 * 3600 # 100d - OPTIMIZE_TIMEOUT_1536D_500K = 15 * 60 # 15min - OPTIMIZE_TIMEOUT_1536D_5M = 2.5 * 3600 # 2.5h + OPTIMIZE_TIMEOUT_1536D_500K = 24 * 3600 # 24h + OPTIMIZE_TIMEOUT_1536D_5M = 240 * 3600 # 10d + def display(self) -> str: tmp = [ i for i in inspect.getmembers(self)