This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git


The following commit(s) were added to refs/heads/master by this push:
     new dfe3a69  ES default of 10 seconds may be too short for certain 
queries, bump to 60
dfe3a69 is described below

commit dfe3a69c8f7cd38a41c469b26a57d5f8e1c271f6
Author: Daniel Gruno <[email protected]>
AuthorDate: Sat Sep 25 12:51:25 2021 -0500

    ES default of 10 seconds may be too short for certain queries, bump to 60
---
 server/plugins/database.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/plugins/database.py b/server/plugins/database.py
index c088536..8aaf906 100644
--- a/server/plugins/database.py
+++ b/server/plugins/database.py
@@ -94,7 +94,7 @@ class Database:
                    scroll="5m",
                    preserve_order=False,
                    size=1000,
-                   request_timeout=None,
+                   request_timeout=60,
                    clear_scroll=True,
                    scroll_kwargs=None,
                    **kwargs) -> typing.AsyncIterator[dict]:

Reply via email to