Optimize listing of logs by changing to bucket by datetime, over which we have an index
This commit is contained in:
parent
9f09d68ad8
commit
d4c74bc1d3
3 changed files with 46 additions and 27 deletions
|
@ -89,7 +89,7 @@ class PreOCIModel(RepositoryDataInterface):
|
|||
kind_filter=repo_kind)
|
||||
|
||||
repos, next_page_token = model.modelutil.paginate_query(repo_query, limit=REPOS_PER_PAGE,
|
||||
id_alias='rid')
|
||||
sort_field_name='rid')
|
||||
|
||||
# Collect the IDs of the repositories found for subequent lookup of popularity
|
||||
# and/or last modified.
|
||||
|
|
Reference in a new issue