From f6615b1ba9e308d2137c25d33b974388d680b7e9 Mon Sep 17 00:00:00 2001 From: Kastan Day Date: Thu, 7 Mar 2024 15:27:30 -0800 Subject: [PATCH] Increase workers to 3, remove callback url for now --- ai_ta_backend/beam/ingest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ai_ta_backend/beam/ingest.py b/ai_ta_backend/beam/ingest.py index b8a44e00..e7dd4a92 100644 --- a/ai_ta_backend/beam/ingest.py +++ b/ai_ta_backend/beam/ingest.py @@ -146,8 +146,8 @@ def loader(): # Triggers determine how your app is deployed @app.rest_api( - workers=2, - callback_url='https://uiuc-chat-git-refactoringesttobeamserverless-kastanday.vercel.app/api/UIUC-api/ingestCallback', + workers=3, + # callback_url='https://uiuc-chat-git-refactoringesttobeamserverless-kastanday.vercel.app/api/UIUC-api/ingestCallback', max_pending_tasks=15_000, max_retries=3, timeout=-1,