From 2361a14c56aada6362c2cce3b7261e6913645295 Mon Sep 17 00:00:00 2001 From: Chandrasekharan M Date: Wed, 18 Dec 2024 13:19:03 +0530 Subject: [PATCH] Updated ADAPTER_LLMW_MAX_POLLS to 120 for 1 hour extraction --- backend/sample.env | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/sample.env b/backend/sample.env index 354021577..7f713a4c2 100644 --- a/backend/sample.env +++ b/backend/sample.env @@ -120,8 +120,8 @@ SESSION_COOKIE_AGE=86400 # Time in seconds to wait before polling LLMWhisperer's status API ADAPTER_LLMW_POLL_INTERVAL=30 # Total number of times to poll the status API. -# 500 mins to allow 1500 (max pages limit) * 20 (approx time in sec to process a page) -ADAPTER_LLMW_MAX_POLLS=1000 +# ~60 mins (assuming it'll be enough to process 1500 pages with LLMW v2) +ADAPTER_LLMW_MAX_POLLS=120 # Number of times to retry the /whisper-status API before failing the extraction ADAPTER_LLMW_STATUS_RETRIES=5