node-pool icon indicating copy to clipboard operation
node-pool copied to clipboard

Allow unlimited maximum

Open radarfox opened this issue 6 years ago • 0 comments

Is there any reason why the pool size can't be unlimited? The default is 1 and setting to Infinity causes pool.fill to fail with:

Error: Maximum count of objects exceeded.

I'm using the pool for it's "recyclation features" rather than for limiting the count of objects. My current hotfix is setting max to Number.MAX_SAFE_INTEGER.

radarfox avatar May 31 '19 12:05 radarfox