server/facade: bump elasticsearch timeout to 2 minutes

Fixes #285
This commit is contained in:
Shyam Sunder 2019-10-15 13:02:24 -04:00
parent 73c53fa4e2
commit 4f5ea9c5ed

View file

@ -131,7 +131,7 @@ def create_app() -> Callable[[Any, Any], Any]:
try: try:
image_hash.get_session().cluster.health( image_hash.get_session().cluster.health(
wait_for_status='yellow', request_timeout=30) wait_for_status='yellow', request_timeout=120)
posts.populate_reverse_search() posts.populate_reverse_search()
db.session.commit() db.session.commit()
except errors.ThirdPartyError: except errors.ThirdPartyError: