Преглед на файлове

fix: weaviate batch insert timeout (#108)

John Wang преди 2 години
родител
ревизия
8fc2663693
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      api/core/vector_store/weaviate_vector_store_client.py

+ 1 - 1
api/core/vector_store/weaviate_vector_store_client.py

@@ -29,7 +29,7 @@ class WeaviateVectorStoreClient(BaseVectorStoreClient):
         return weaviate.Client(
         return weaviate.Client(
             url=endpoint,
             url=endpoint,
             auth_client_secret=auth_config,
             auth_client_secret=auth_config,
-            timeout_config=(5, 15),
+            timeout_config=(5, 60),
             startup_period=None
             startup_period=None
         )
         )