diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2022-02-25 11:41:00 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2022-02-25 11:41:00 -0800 |
commit | 93e81ecbd5eb438ec927c2c66615bbfe9e2cc5db (patch) | |
tree | b9355dd47d7c6939527b351e60036f242d0f5ad7 | |
parent | 3c2ac30e23744e38aa84f3a673b4cc644bd76c37 (diff) | |
download | fatcat-93e81ecbd5eb438ec927c2c66615bbfe9e2cc5db.tar.gz fatcat-93e81ecbd5eb438ec927c2c66615bbfe9e2cc5db.zip |
ingest: longer ES timeout
-rwxr-xr-x | python/fatcat_ingest.py | 2 |
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 |