From ec6b366af8df1956e1287cba2e0818b80ce1c518 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 23 Dec 2020 11:08:47 -0800 Subject: fuzzy: set 120 second timeout on ES lookups --- python/fatcat_tools/importers/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/fatcat_tools/importers/common.py b/python/fatcat_tools/importers/common.py index 2446cdbf..fcbe9ad2 100644 --- a/python/fatcat_tools/importers/common.py +++ b/python/fatcat_tools/importers/common.py @@ -164,7 +164,7 @@ class EntityImporter: self.es_client = kwargs.get('es_client') if not self.es_client: - self.es_client = elasticsearch.Elasticsearch("https://search.fatcat.wiki") + self.es_client = elasticsearch.Elasticsearch("https://search.fatcat.wiki", timeout=120) self._issnl_id_map = dict() self._orcid_id_map = dict() -- cgit v1.2.3