mirror of
https://github.com/quay/quay.git
synced 2025-07-14 05:01:08 +03:00
Optimize repository lookup queries to meet the expected maximums (#246)
* Optimize repository lookup queries to meet the expected maximums We were accidentally looking up more data that strictly allowed Adds some additional assertions and testing as well Fixes https://issues.redhat.com/browse/PROJQUAY-439 * Change loading of repositories in the repo view to be paginated We drop the "card" view and switch to a table-only view, but still load the full set of repositories A followup change will begin to change the UI to only load additional repos when requested
This commit is contained in:
@ -117,12 +117,10 @@ from endpoints.api.organization import (
|
||||
OrganizationApplicationResetClientSecret,
|
||||
Organization,
|
||||
)
|
||||
from endpoints.api.repository import (
|
||||
RepositoryList,
|
||||
RepositoryVisibility,
|
||||
Repository,
|
||||
REPOS_PER_PAGE,
|
||||
)
|
||||
from endpoints.api.repository import RepositoryList, RepositoryVisibility, Repository
|
||||
|
||||
from endpoints.api.repository_models_pre_oci import REPOS_PER_PAGE
|
||||
|
||||
from endpoints.api.permission import (
|
||||
RepositoryUserPermission,
|
||||
RepositoryTeamPermission,
|
||||
|
Reference in New Issue
Block a user