0

Update queue-worker.ts

This commit is contained in:
Nicolas 2024-04-20 19:38:44 -07:00
parent 0db0874b00
commit 9b31e68a7e

View File

@ -17,7 +17,7 @@ getWebScraperQueue().process(
current_url: "",
});
const start = Date.now();
console.log("Processing job", job.data);
const { success, message, docs } = await startWebScraperPipeline({ job });
const end = Date.now();
const timeTakenInSeconds = (end - start) / 1000;