mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-17 01:01:03 +02:00
Fix timeouts
This commit is contained in:
parent
7c1568b896
commit
bda5fd8a3a
2 changed files with 2 additions and 2 deletions
|
|
@ -38,7 +38,7 @@ class DocumentRagClient(BaseClient):
|
||||||
output_schema=DocumentRagResponse,
|
output_schema=DocumentRagResponse,
|
||||||
)
|
)
|
||||||
|
|
||||||
def request(self, query, timeout=500):
|
def request(self, query, timeout=300):
|
||||||
|
|
||||||
return self.call(
|
return self.call(
|
||||||
query=query, timeout=timeout
|
query=query, timeout=timeout
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,7 @@ class TriplesQueryClient(BaseClient):
|
||||||
self,
|
self,
|
||||||
s, p, o,
|
s, p, o,
|
||||||
user="trustgraph", collection="default",
|
user="trustgraph", collection="default",
|
||||||
limit=10, timeout=60,
|
limit=10, timeout=120,
|
||||||
):
|
):
|
||||||
return self.call(
|
return self.call(
|
||||||
s=self.create_value(s),
|
s=self.create_value(s),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue