We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b4490a commit e79c493Copy full SHA for e79c493
2 files changed
main/settings.py
@@ -830,6 +830,8 @@ def get_all_config_keys():
830
name="QDRANT_BATCH_SIZE_BYTES", default=10 * 1024 * 1024
831
) # default 10 MB limit for batch processing
832
833
+QDRANT_CLIENT_TIMEOUT = get_int(name="QDRANT_CLIENT_TIMEOUT", default=10)
834
+
835
# toggle to use requests (default for local) or webdriver which renders js elements
836
EMBEDDINGS_EXTERNAL_FETCH_USE_WEBDRIVER = get_bool(
837
"EMBEDDINGS_EXTERNAL_FETCH_USE_WEBDRIVER", default=False
vector_search/utils.py
@@ -52,6 +52,7 @@ def qdrant_client():
52
api_key=settings.QDRANT_API_KEY,
53
grpc_port=6334,
54
prefer_grpc=True,
55
+ timeout=settings.QDRANT_CLIENT_TIMEOUT,
56
)
57
58
0 commit comments