sindresorhus / p-queue

Promise queue with concurrency control
MIT License
3.45k stars 185 forks source link

Improve name of `carryoverConcurrencyCount` option #125

Open sindresorhus opened 3 years ago

sindresorhus commented 3 years ago

See https://github.com/sindresorhus/p-queue/issues/121

Naming suggestions welcome.

Rafael09ED commented 3 years ago

I agree the using the word concurrency adds confusion. What about something along the lines of carryoverIntervalCount, carryoverPendingIntoNextInterval or applyPendingToNextIntervalCap? Or we could rename intervalCap to intervalLimit and have applyPendingToNextIntervalLimit