Re: [AUH][PATCH v2 9/9] upgrade-helper.py: Limit number of requests to remote servers
Alexander Kanavin <[email protected]>
| Newsgroups | org.yoctoproject.lists.yocto-patches |
|---|---|
| Message-ID | <CANNYZj8sG7A+o2tmNr2EXVd2td7+CGxRuvB6X9YWPRmWUFAYJQ@mail.gmail.com> |
On Fri, 24 Apr 2026 at 13:46, <[email protected]> wrote: > + pkggroups_iter = oe.recipeutils.get_recipe_upgrade_status(layer_recipes) Any such rate limiting needs to be handled inside this function by passing in a parameter, and certainly not by hacking oe.utils.cpu_count. Also, I'm not seeing the issue locally (256 cores, 64 worker threads in 'devtool check-upgrade-status'), are you redirected to some gnu mirror which does it? I understand that you want to automate scarthgap updates, and such tweaks can't be easily backported in oe-core, but code shouldn't just 'fix issues', it also needs to be maintainable in the long term. Alex