summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-12-23 11:08:47 -0800
committerBryan Newbold <bnewbold@robocracy.org>2020-12-23 11:08:47 -0800
commitec6b366af8df1956e1287cba2e0818b80ce1c518 (patch)
tree2b847601bc2cb09d7f3324f926f5d2ce6b011d47
parentd33a37eab50e95ceabadf7bbc20088ad62669564 (diff)
downloadfatcat-ec6b366af8df1956e1287cba2e0818b80ce1c518.tar.gz
fatcat-ec6b366af8df1956e1287cba2e0818b80ce1c518.zip
fuzzy: set 120 second timeout on ES lookups
-rw-r--r--python/fatcat_tools/importers/common.py2
1 files changed, 1 insertions, 1 deletions
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()