aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/search.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2022-02-14 12:09:09 -0800
committerBryan Newbold <bnewbold@archive.org>2022-02-14 12:09:09 -0800
commitfb3733d9e4116c801afe04d72645ef601be64d3d (patch)
treecfd8d52fd7510eba388ae8ccf363eb8186277897 /fatcat_scholar/search.py
parent1ca8ae466b3e1060ba1dfb9eef97f8d5341286fb (diff)
downloadfatcat-scholar-fb3733d9e4116c801afe04d72645ef601be64d3d.tar.gz
fatcat-scholar-fb3733d9e4116c801afe04d72645ef601be64d3d.zip
bugfix: elasticsearch per-request timeout for _health (arg name)
Diffstat (limited to 'fatcat_scholar/search.py')
-rw-r--r--fatcat_scholar/search.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fatcat_scholar/search.py b/fatcat_scholar/search.py
index 5cf916c..1df7fd8 100644
--- a/fatcat_scholar/search.py
+++ b/fatcat_scholar/search.py
@@ -466,7 +466,7 @@ def es_scholar_index_alive() -> bool:
resp = es_client.count(
body=None,
index=settings.ELASTICSEARCH_QUERY_FULLTEXT_INDEX,
- timeout=90.0,
+ request_timeout=90.0,
)
except elasticsearch.exceptions.RequestError as e_raw:
if e_raw.status_code == 404: