mirror of
https://github.com/simon987/od-database.git
synced 2025-04-19 10:26:44 +00:00
Lowered search timeout
This commit is contained in:
parent
372c10b5ab
commit
876a511b54
@ -231,7 +231,7 @@ class ElasticSearchEngine(SearchEngine):
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"size": per_page, "from": min(page * per_page, 10000 - per_page)},
|
"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
|
return page
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user