mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-07-12 22:23:01 +02:00
made connectors summary page faster (#2320)
* made connectors summary page faster * not worth risk
This commit is contained in:
@ -242,7 +242,7 @@ def get_latest_finished_index_attempt_for_cc_pair(
|
||||
secondary_index: bool,
|
||||
db_session: Session,
|
||||
) -> IndexAttempt | None:
|
||||
stmt = select(IndexAttempt).distinct()
|
||||
stmt = select(IndexAttempt)
|
||||
stmt = stmt.where(
|
||||
IndexAttempt.connector_credential_pair_id == connector_credential_pair_id,
|
||||
IndexAttempt.status.not_in(
|
||||
|
Reference in New Issue
Block a user