mirror of
https://github.com/simon987/od-database.git
synced 2025-12-12 14:38:50 +00:00
Lowered search timeout
This commit is contained in:
@@ -231,7 +231,7 @@ class ElasticSearchEngine(SearchEngine):
|
||||
}
|
||||
},
|
||||
"size": per_page, "from": min(page * per_page, 10000 - per_page)},
|
||||
index=self.index_name, request_timeout=35)
|
||||
index=self.index_name, request_timeout=20)
|
||||
|
||||
return page
|
||||
|
||||
|
||||
Reference in New Issue
Block a user