Increased search timeout value

This commit is contained in:
Simon 2018-08-09 18:33:35 -04:00
parent 42d858b62a
commit faeff701de
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ class RedditBot:
comment += "[Full Report](https://od-db.the-eye.eu/website/" + str(website_id) + "/)" comment += "[Full Report](https://od-db.the-eye.eu/website/" + str(website_id) + "/)"
comment += " | [Link list](https://od-db.the-eye.eu/website/" + str(website_id) + "/links)" comment += " | [Link list](https://od-db.the-eye.eu/website/" + str(website_id) + "/links)"
comment += " | [Source](https://github.com/simon987/od-database) \n" comment += " | [Source](https://github.com/simon987) \n"
comment += "*** \n" comment += "*** \n"
comment += RedditBot.bottom_line comment += RedditBot.bottom_line

View File

@ -214,7 +214,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=30) index=self.index_name, request_timeout=60)
return page return page