Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
* Constructs a new poolifier pool.
*
* @param minimumNumberOfWorkers - Minimum number of workers that this pool should manage.
- * @param maximumNumberOfWorkers - Maximum number of workers that this pool should manage.
* @param filePath - Path to the worker file.
* @param opts - Options for the pool.
+ * @param maximumNumberOfWorkers - Maximum number of workers that this pool should manage.
*/
public constructor (
protected readonly minimumNumberOfWorkers: number,
await pool.destroy()
const elapsedTime = performance.now() - startTime
expect(tasksFinished).toBe(0)
- expect(elapsedTime).toBeLessThanOrEqual(tasksFinishedTimeout + 300)
+ expect(elapsedTime).toBeLessThanOrEqual(tasksFinishedTimeout + 600)
})
it('Verify that pool asynchronous resource track tasks execution', async () => {