aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/search.py
diff options
context:
space:
mode:
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: