Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TaskManager] fetch more tasks to run than available capacity
resolves elastic#65552 Currently TaskManager attempts to claim exactly the number of tasks that it has capacity for. As an optimization, we're going to change to have it request more tasks than it has capacity for. This should improve latency, as when tasks complete, there may be some of these excess tasks that can be started, as they are already claimed (they still need to be marked running). All the plumbing already handles getting more tasks than we asked for, we were just never asking for more than we needed previously.
- Loading branch information