From 89b3512a66a68e608162ba14e684de1fa199e122 Mon Sep 17 00:00:00 2001 From: Wille Marcel Date: Mon, 22 Apr 2024 13:07:01 -0300 Subject: [PATCH] Convert NUM_WORKERS to Number --- update.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() ); };