diff --git a/update.js b/update.js index 2454096..cde5030 100644 --- a/update.js +++ b/update.js @@ -35,7 +35,7 @@ const process = async () => { await storePendingReplications(f); })); - Array(NUM_WORKERS).fill().forEach( + Array(Number(NUM_WORKERS)).fill().forEach( async () => await processReplication() ); };