Issue #3045
Updated by mhrivnak about 7 years ago
This is often seen on the Katello setups with smart proxies.
Even though it can be improved on Katello side - not to run orphan clean up after each sync on smart proxies, there is no need for two or more orphan tasks to be run in parallel. So suggestion here is to prevent that.
Making this change also would avoid the race condition reported in #3043
As per mhrivnak comment:
> I don't see any harm in us making it a resource-reserving task. We aren't gaining much by running multiple in parallel. It should be a simple 1-line change to call "apply_async_with_reservation(...)" instead of "apply_async()"
Check related BZ for more details.