From afba48e5774dddcfcb3803889bf1c73ac5c98a74 Mon Sep 17 00:00:00 2001 From: Kai Schlamp Date: Tue, 19 Mar 2024 22:02:53 +0000 Subject: [PATCH] Make timeouts constants --- radis/vespa/vespa_app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radis/vespa/vespa_app.py b/radis/vespa/vespa_app.py index ed96aeaf..38dc1442 100644 --- a/radis/vespa/vespa_app.py +++ b/radis/vespa/vespa_app.py @@ -34,10 +34,10 @@ # limit. MAX_SEARCH_HITS = 1000 MAX_SEARCH_OFFSET = 1000 -SEARCH_TIMEOUT = 1 +SEARCH_TIMEOUT = 3 MAX_RETRIEVAL_HITS = 10000 MAX_RETRIEVAL_OFFSET = 10000 -RETRIEVAL_TIMEOUT = 10 +RETRIEVAL_TIMEOUT = 60 def _create_report_schema():