You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
res.code(200).send(`Hive is oprational with ${wasps.length} wasps ready and waiting orders.`);
230
+
res.code(200).send(`Hive is operational with ${wasps.length} wasps ready and waiting orders.`);
226
231
}
227
232
})
228
233
@@ -231,7 +236,7 @@ var isRunningRes = function(res, code)
231
236
{
232
237
if(running)
233
238
{
234
-
res.code(code||425).send(((waspDoneCount/waspsRunningCount)*100)+"% complete, eta "+((Number(process.hrtime.bigint())/1000000)-runTimeStamp)+"ms to go.");
239
+
res.code(code||425).send(((waspDoneCount/waspsRunningCount)*100)+"% complete, eta "+Math.round((duration-((Number(process.hrtime.bigint())/1000000)-runTimeStamp)))+"ms to go.");
235
240
returntrue;
236
241
}
237
242
returnfalse;
@@ -286,6 +291,7 @@ var setRunning = function(run)
0 commit comments