# HG changeset patch # User Thierry Florac # Date 1569430233 -7200 # Node ID 1b637fe76ab8df82076fe676ed9263d7086ebbdf # Parent fe440b88825a111e2da02d7ea9640f1d991fcc40 Updated default query timeout to 30 seconds diff -r fe440b88825a -r 1b637fe76ab8 src/pyams_content_es/shared/view/__init__.py --- a/src/pyams_content_es/shared/view/__init__.py Wed May 22 15:13:02 2019 +0200 +++ b/src/pyams_content_es/shared/view/__init__.py Wed Sep 25 18:50:33 2019 +0200 @@ -82,6 +82,7 @@ total_count = 0 else: search = Search(using=client.es, index=client.index) \ + .params(request_timeout=30) \ .query(params) \ .source(['internal_id']) # Define sort order