diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/fatcat_web/__init__.py | 2 |
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 |