Update queue-worker.ts
This commit is contained in:
parent
0db0874b00
commit
9b31e68a7e
@ -17,7 +17,7 @@ getWebScraperQueue().process(
|
|||||||
current_url: "",
|
current_url: "",
|
||||||
});
|
});
|
||||||
const start = Date.now();
|
const start = Date.now();
|
||||||
console.log("Processing job", job.data);
|
|
||||||
const { success, message, docs } = await startWebScraperPipeline({ job });
|
const { success, message, docs } = await startWebScraperPipeline({ job });
|
||||||
const end = Date.now();
|
const end = Date.now();
|
||||||
const timeTakenInSeconds = (end - start) / 1000;
|
const timeTakenInSeconds = (end - start) / 1000;
|
||||||
|
Loading…
Reference in New Issue
Block a user