aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2022-01-10 18:34:40 -0800
committerBryan Newbold <bnewbold@robocracy.org>2022-01-10 18:34:56 -0800
commit0d746fd79c6f1fac794c101a73d03e3513f8db15 (patch)
tree6ed70aa52496064aa4d5cfe6ae32832a674e72f9 /python
parentcca680e2cc4768a4d45e199f6256a433b25b4075 (diff)
downloadfatcat-0d746fd79c6f1fac794c101a73d03e3513f8db15.tar.gz
fatcat-0d746fd79c6f1fac794c101a73d03e3513f8db15.zip
elasticsearch: bump timeout to 40 seconds (from default of 10)
Diffstat (limited to 'python')
-rw-r--r--python/fatcat_web/__init__.py2
1 files changed, 1 insertions, 1 deletions
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