mirror of
https://github.com/simon987/od-database.git
synced 2025-04-17 17:36:48 +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 += " | [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 += RedditBot.bottom_line
|
||||
|
||||
|
@ -214,7 +214,7 @@ class ElasticSearchEngine(SearchEngine):
|
||||
}
|
||||
},
|
||||
"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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user