Page MenuHomeSoftware Heritage

D2581.diff
No OneTemporary

D2581.diff

diff --git a/swh/search/elasticsearch.py b/swh/search/elasticsearch.py
--- a/swh/search/elasticsearch.py
+++ b/swh/search/elasticsearch.py
@@ -204,6 +204,9 @@
index='origin',
body=body,
size=count,
+ # XXX: make that configurable (either method parameter
+ # or application config...)
+ request_timeout=20,
)
hits = res['hits']['hits']

File Metadata

Mime Type
text/plain
Expires
Dec 21 2024, 8:18 PM (11 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3218993

Event Timeline