Skip to content

Commit

Permalink
Update queue-worker.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
nickscamara committed Apr 21, 2024
1 parent 0db0874 commit 9b31e68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api/src/services/queue-worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9b31e68

Please sign in to comment.