From 4f5ea9c5eda5062792eb1ba04a01d28e338870ce Mon Sep 17 00:00:00 2001 From: Shyam Sunder Date: Tue, 15 Oct 2019 13:02:24 -0400 Subject: [PATCH] server/facade: bump elasticsearch timeout to 2 minutes Fixes #285 --- server/szurubooru/facade.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/szurubooru/facade.py b/server/szurubooru/facade.py index b03e2197..e10b53d9 100644 --- a/server/szurubooru/facade.py +++ b/server/szurubooru/facade.py @@ -131,7 +131,7 @@ def create_app() -> Callable[[Any, Any], Any]: try: image_hash.get_session().cluster.health( - wait_for_status='yellow', request_timeout=30) + wait_for_status='yellow', request_timeout=120) posts.populate_reverse_search() db.session.commit() except errors.ThirdPartyError: