From d2175fa8ecd598b391c84d43b3ebe2ef8903a997 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 21 Jan 2022 17:11:08 -0800 Subject: ingest tool: clear_scroll allowed in es-public-proxy for some time --- python/fatcat_ingest.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/python/fatcat_ingest.py b/python/fatcat_ingest.py index 964907c8..3f8666ca 100755 --- a/python/fatcat_ingest.py +++ b/python/fatcat_ingest.py @@ -79,14 +79,6 @@ def _run_search_dump(args: argparse.Namespace, search: Search) -> None: file=sys.stderr, ) - # don't try to clean up scroll if we are connected to public server (behind - # nginx proxy that disallows DELETE) - if args.elasticsearch_endpoint in ( - "https://search.fatcat.wiki", - "https://search.qa.fatcat.wiki", - ): - search = search.params(clear_scroll=False) - results = search.scan() for esr in results: if args.limit and counts["ingest_request"] >= args.limit: -- cgit v1.2.3