From ad29150ad299fc2e385dd731b6595340aa353d05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Wei=C3=9F?= Date: Fri, 13 Oct 2023 16:20:21 +0200 Subject: [PATCH] danswer-stage/danswer: increase connector timeout --- backend/danswer/background/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/danswer/background/update.py b/backend/danswer/background/update.py index 3b1c32b1f02..66fa7fa4def 100755 --- a/backend/danswer/background/update.py +++ b/backend/danswer/background/update.py @@ -170,7 +170,7 @@ def cleanup_indexing_jobs( # batch of documents indexed current_db_time = get_db_current_time(db_session=db_session) time_since_update = current_db_time - index_attempt.time_updated - if time_since_update.seconds > 60 * 60: + if time_since_update.seconds > 3 * 60 * 60: existing_jobs[index_attempt.id].cancel() mark_run_failed( db_session=db_session,