Skip to content

Commit

Permalink
Update pollOutstandingScans.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
azdak committed Nov 21, 2024
1 parent 4f72dc2 commit 641ea9b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/internal/pollOutstandingScans.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@ export const pollOutstandingScans = async ({ request, reply }) => {
const deltaTime = new Date().getTime() - startTime;
console.log(`END PROCESS SCANS, took ${deltaTime}`);
return {
processedJobs: processedJobs,
failedJobs: failedJobs,
waitingJobs: waitingJobs,
perf: `${processedJobs.length} jobs processed, took ${deltaTime}ms`
openJobs :sortedJobIds,
processedJobs : processedJobs,
failedJobs : failedJobs,
waitingJobs : waitingJobs,
perf : `${processedJobs.length} jobs processed, took ${deltaTime}ms`
};
}

0 comments on commit 641ea9b

Please sign in to comment.