diff options
author | Bryan Newbold <bnewbold@archive.org> | 2022-01-10 18:33:00 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2022-01-10 18:33:00 -0800 |
commit | c9c1827f5054b8ab595c5f0af97c87a44b12f70d (patch) | |
tree | ef84ad4ff448036985d5171132c937c11b496e77 | |
parent | e2bcaba3381c5af5f40f0c1ec2ccb5bdcdd18c7f (diff) | |
download | fatcat-scholar-c9c1827f5054b8ab595c5f0af97c87a44b12f70d.tar.gz fatcat-scholar-c9c1827f5054b8ab595c5f0af97c87a44b12f70d.zip |
elasticsearch: bump query timeout to 40 seconds (from 25)
-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 b99a661..57ee71c 100644 --- a/fatcat_scholar/search.py +++ b/fatcat_scholar/search.py @@ -100,7 +100,7 @@ class FulltextHits(BaseModel): # global sync client connection -es_client = elasticsearch.Elasticsearch(settings.ELASTICSEARCH_QUERY_BASE, timeout=25.0) +es_client = elasticsearch.Elasticsearch(settings.ELASTICSEARCH_QUERY_BASE, timeout=40.0) def transform_es_results(resp: Response) -> List[dict]: |