From 0d746fd79c6f1fac794c101a73d03e3513f8db15 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 10 Jan 2022 18:34:40 -0800 Subject: elasticsearch: bump timeout to 40 seconds (from default of 10) --- python/fatcat_web/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/fatcat_web/__init__.py b/python/fatcat_web/__init__.py index c4b6309b..70f8ad4a 100644 --- a/python/fatcat_web/__init__.py +++ b/python/fatcat_web/__init__.py @@ -82,7 +82,7 @@ mwoauth = MWOAuth( mwoauth.handshaker.user_agent = "fatcat.wiki;python_web_interface" app.register_blueprint(mwoauth.bp, url_prefix="/auth/wikipedia") -app.es_client = elasticsearch.Elasticsearch(Config.ELASTICSEARCH_BACKEND) +app.es_client = elasticsearch.Elasticsearch(Config.ELASTICSEARCH_BACKEND, timeout=40.0) from fatcat_web import auth, cors, editing_routes, forms, ref_routes, routes -- cgit v1.2.3