diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2020-12-23 11:08:47 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2020-12-23 11:08:47 -0800 |
commit | ec6b366af8df1956e1287cba2e0818b80ce1c518 (patch) | |
tree | 2b847601bc2cb09d7f3324f926f5d2ce6b011d47 /python/fatcat_tools/importers | |
parent | d33a37eab50e95ceabadf7bbc20088ad62669564 (diff) | |
download | fatcat-ec6b366af8df1956e1287cba2e0818b80ce1c518.tar.gz fatcat-ec6b366af8df1956e1287cba2e0818b80ce1c518.zip |
fuzzy: set 120 second timeout on ES lookups
Diffstat (limited to 'python/fatcat_tools/importers')
-rw-r--r-- | python/fatcat_tools/importers/common.py | 2 |
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() |