X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2FdynamicExample.js;fp=examples%2FdynamicExample.js;h=22b4f19c4b7394c92b1b91b7d8ffad432e810e4c;hb=60fbd6d6188b0902d157fd0cde04d6af3a391e32;hp=22379f204bf5a8a504920e06fea498e76f39f728;hpb=bb7e31eb128840f1bea76429f3c32bed306b6b25;p=poolifier.git diff --git a/examples/dynamicExample.js b/examples/dynamicExample.js index 22379f20..22b4f19c 100644 --- a/examples/dynamicExample.js +++ b/examples/dynamicExample.js @@ -1,4 +1,4 @@ -const DynamicThreadPool = require('../lib/dynamic') +const { DynamicThreadPool } = require('poolifier') let resolved = 0 let maxReached = 0 const pool = new DynamicThreadPool(10, 20, './yourWorker.js', {