Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Add limit to rank in list of upload/index records #48373

@efritz

Description

@efritz

We have a performance issue on dotcom with the precise indexes endpoint. One of the dominating points of the query is the rank in queue, which we need to sort the entire set of queued uploads. This cost grows linearly with queue size, regardless of the filters.

Instead we should only count the first 1000 or so in the queue, and display a more generic "in queue" message when listing precise indexes. When fetching a single index we can still get the full rank.

Metadata

Metadata

Assignees

Labels

auto-index-experienceteam/graphGraph Team (previously Code Intel/Language Tools/Language Platform)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions