Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: Limit the maximum number of lists returned by the tags list API #533

Closed
njucjc opened this issue Apr 1, 2024 · 2 comments
Closed

Comments

@njucjc
Copy link

njucjc commented Apr 1, 2024

/v2/<name>/tags api will query all tags in the repo and load them into memory. If there are a large number of tags in the repo, there may be leading to OOM.

how about to limit the maximum number of entries returned by the single tags list API like /v2/_catalog API and return Link for next page.

Related discussions:
distribution/distribution#4315 (reply in thread)

@njucjc
Copy link
Author

njucjc commented Apr 1, 2024

This problem may be solved by this PR?

@sudo-bmitch
Copy link
Contributor

I believe this is a duplicate of #461.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants