Skip to content

feat: batch-fetch Pulp packages in errata release instead of N+1 calls#1209

Open
andrewlukoshko wants to merge 1 commit intomasterfrom
batch-errata-pulp-package-fetch
Open

feat: batch-fetch Pulp packages in errata release instead of N+1 calls#1209
andrewlukoshko wants to merge 1 commit intomasterfrom
batch-errata-pulp-package-fetch

Conversation

@andrewlukoshko
Copy link
Copy Markdown
Member

Replace per-package get_by_href() loop with a single batched query using pulp_href__in filter. Also requests only the fields actually used, reducing payload size. For 100 packages this turns ~100 HTTP requests into 1.

Replace per-package get_by_href() loop with a single batched query
using pulp_href__in filter. Also requests only the fields actually
used, reducing payload size. For 100 packages this turns ~100 HTTP
requests into 1.
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

Successfully merging this pull request may close these issues.

1 participant