Hello, I've recently posted fixes for two bugs in pkg's jobs scheduler.
The first bug fixed results in upgrade jobs being unnecessarily split into delete/install jobs. It has been around since pkg 2.0.0 and is fixed by https://github.com/ifreund/pkg/tree/sched-fixes-2. The second bug fixed causes split upgrade jobs to ordered such that the time between the split delete/install jobs is maximized rather than minimized. This bug was introduced more recently due to code churn in pkg 2.2.0 and is fixed by https://github.com/freebsd/pkg/pull/2488. Since bapt is currently on vacation, these fixes won't be merged for at least two weeks. It would be great to get some more real-world testing in the meantime though if anyone has time! Both bug fixes as well as a few other minor improvements are included in this branch: https://github.com/ifreund/pkg/tree/sched-fixes-2 Feel free to reply to this email or on the github pull requests with any issues/comments! Thanks, Isaac
