redhat-exd-rebuilds / freshmaker

Freshmaker is a service that automatically rebuilds content.
https://redhat-exd-rebuilds.github.io/freshmaker/
MIT License
9 stars 23 forks source link

Send Pyxis request with less repositories #237

Closed qixiang closed 1 year ago

qixiang commented 1 year ago

Freshmaker has a Pyxis request which is used to find images that have particular content sets enabled and have particular rpms installed, this request is time consuming and it's hard to tell how complex this request will be because the query and filter is performed at Pyxis backend, and with the number of images grow in underlying database, same request can take more time to finish.

We're seeing request timeout with 100 repositories in a single request, adjust the number to 50 to workaround the issue.

FernandesMF commented 1 year ago

Makes sense and looks good to me!