Skip to content

Commit

Permalink
danswer-stage/danswer: increase connector timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
panos-- committed Nov 7, 2023
1 parent bdac5a8 commit ce06da8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/danswer/background/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,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.total_seconds() > 60 * 60:
if time_since_update.seconds > 3 * 60 * 60:
existing_jobs[index_attempt.id].cancel()
mark_run_failed(
db_session=db_session,
Expand Down

0 comments on commit ce06da8

Please sign in to comment.