From bda5fd8a3aa9f574b2049351172e7f02a8dd8b41 Mon Sep 17 00:00:00 2001 From: Cyber MacGeddon Date: Thu, 31 Oct 2024 16:27:19 +0000 Subject: [PATCH] Fix timeouts --- trustgraph-base/trustgraph/clients/document_rag_client.py | 2 +- trustgraph-base/trustgraph/clients/triples_query_client.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/trustgraph-base/trustgraph/clients/document_rag_client.py b/trustgraph-base/trustgraph/clients/document_rag_client.py index 1e8a706d..103cbb69 100644 --- a/trustgraph-base/trustgraph/clients/document_rag_client.py +++ b/trustgraph-base/trustgraph/clients/document_rag_client.py @@ -38,7 +38,7 @@ class DocumentRagClient(BaseClient): output_schema=DocumentRagResponse, ) - def request(self, query, timeout=500): + def request(self, query, timeout=300): return self.call( query=query, timeout=timeout diff --git a/trustgraph-base/trustgraph/clients/triples_query_client.py b/trustgraph-base/trustgraph/clients/triples_query_client.py index 6c18ac3f..fc1e4b26 100644 --- a/trustgraph-base/trustgraph/clients/triples_query_client.py +++ b/trustgraph-base/trustgraph/clients/triples_query_client.py @@ -52,7 +52,7 @@ class TriplesQueryClient(BaseClient): self, s, p, o, user="trustgraph", collection="default", - limit=10, timeout=60, + limit=10, timeout=120, ): return self.call( s=self.create_value(s),