From 93e81ecbd5eb438ec927c2c66615bbfe9e2cc5db Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 25 Feb 2022 11:41:00 -0800 Subject: ingest: longer ES timeout --- python/fatcat_ingest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') 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 -- cgit v1.2.3