mirror of
https://github.com/simon987/od-database.git
synced 2025-04-19 18:36:44 +00:00
Increased search timeout value
This commit is contained in:
parent
42d858b62a
commit
faeff701de
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user