Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7124811
D2581.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
429 B
Subscribers
None
D2581.diff
View Options
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
Details
Attached
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
Attached To
D2581: search.elasticsearch: Increase request timeout
Event Timeline
Log In to Comment