mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-04-01 00:18:18 +02:00
made connectors summary page faster (#2320)
* made connectors summary page faster * not worth risk
This commit is contained in:
parent
34ba3181ff
commit
e4c85352b4
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user