From b4f4ff357a0bbcc22e1da9a418bf5dc53decf604 Mon Sep 17 00:00:00 2001 From: MohammadHoseinPaymard Date: Mon, 26 May 2025 14:36:43 +0330 Subject: [PATCH] update index.js --- index.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/index.js b/index.js index 6277699..29927fa 100644 --- a/index.js +++ b/index.js @@ -3,12 +3,12 @@ const { sleep } = require('./util'); require(path.join(process.cwd(),"..","server","dist","database.js")); -async function main(){ - console.time("WorkflowTester") +(function(){ await sleep(5e3); + console.time("WorkflowTester") + + console.timeEnd("WorkflowTester") console.log("DONE"); -} - -main(); \ No newline at end of file +})() \ No newline at end of file