X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Fjavascript%2FfixedExample.js;h=55ed724d1e7e5bc4f0e204b5722cf480c1b5cad5;hb=01e06b5376167533b649aaf5d016a8a2f33f34fb;hp=8aab9cb7a80544f2a83f2c7f348c6b711776bfba;hpb=8538ea4ccb5672b3d4b846db1bedf80135c1df8b;p=poolifier.git diff --git a/examples/javascript/fixedExample.js b/examples/javascript/fixedExample.js index 8aab9cb7..55ed724d 100644 --- a/examples/javascript/fixedExample.js +++ b/examples/javascript/fixedExample.js @@ -30,7 +30,7 @@ for (let i = 1; i <= iterations; i++) { console.info(`The pool was busy for ${poolBusy} times`) return pool.destroy() } - return null + return undefined }) .catch(err => console.error(err)) }