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 641ea9b commit 30018a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/internal/pollOutstandingScans.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ export const pollOutstandingScans = async ({ request, reply }) => {

// make sure we sort the open jobids ASC
const sortedJobIds = jobs.sort((a, b) => (a.job_id - b.job_id));
const processedJobs = [];
const failedJobs = [];
const waitingJobs = [];
let processedJobs = [];
let failedJobs = [];
let waitingJobs = [];

for(const job of sortedJobIds){
// check scan for result
Expand Down

0 comments on commit 30018a5

Please sign in to comment.