Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A0-4596: Avoid sending task requests when in major sync (#1927)
# Description We don't need to send additional requests when in major sync, and when we do then the helpful nodes receiving them overwhelm us with data. It's a bug that's a bit hard to trigger, but quite annoying when it happens. This PR stops that behaviour without impacting major sync times. I tested that major sync speed when far from the chain head is unaffected (some earlier attempts _did_ affect it, even if only a little), but was unable to check that this actually solves the issue it's designed to solve, nor that it doesn't cause some problems when the node is in session – that is _very_ unlikely imo, but crucial, so has to be tested before full release. ## Type of change - Bug fix (non-breaking change which fixes an issue) # Checklist:
- Loading branch information