aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2022-02-25 11:41:00 -0800
committerBryan Newbold <bnewbold@robocracy.org>2022-02-25 11:41:00 -0800
commit93e81ecbd5eb438ec927c2c66615bbfe9e2cc5db (patch)
treeb9355dd47d7c6939527b351e60036f242d0f5ad7
parent3c2ac30e23744e38aa84f3a673b4cc644bd76c37 (diff)
downloadfatcat-93e81ecbd5eb438ec927c2c66615bbfe9e2cc5db.tar.gz
fatcat-93e81ecbd5eb438ec927c2c66615bbfe9e2cc5db.zip
ingest: longer ES timeout
-rwxr-xr-xpython/fatcat_ingest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_ingest.py b/python/fatcat_ingest.py
index d56725c0..96fef8fe 100755
--- a/python/fatcat_ingest.py
+++ b/python/fatcat_ingest.py
@@ -23,7 +23,7 @@ def _init_search(args: argparse.Namespace) -> Search:
# ensure API connection works
args.api.get_changelog()
- client = elasticsearch.Elasticsearch(args.elasticsearch_endpoint)
+ client = elasticsearch.Elasticsearch(args.elasticsearch_endpoint, timeout=120.0)
search = Search(using=client, index=args.elasticsearch_index)
return search