async-pool would benefit from being able to resize and increase the maximum limit, but to do this, increasing (or decreasing) the limit on a semaphore should be a well defined operation. The semantics are:
On increasing the limit, some tasks may be immediately resumed.
On decreasing the limit, some tasks may execute until the count is < than the limit.
async-pool
would benefit from being able to resize and increase the maximum limit, but to do this, increasing (or decreasing) the limit on a semaphore should be a well defined operation. The semantics are:Types of Changes
Contribution