diff options
author | Bryan Newbold <bnewbold@archive.org> | 2022-02-14 12:09:09 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2022-02-14 12:09:09 -0800 |
commit | fb3733d9e4116c801afe04d72645ef601be64d3d (patch) | |
tree | cfd8d52fd7510eba388ae8ccf363eb8186277897 /fatcat_scholar/search.py | |
parent | 1ca8ae466b3e1060ba1dfb9eef97f8d5341286fb (diff) | |
download | fatcat-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.py | 2 |
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: |