Skip to content

Commit

Permalink
pollOutstandinScans testing
Browse files Browse the repository at this point in the history
  • Loading branch information
azdak committed Nov 20, 2024
1 parent 0c6c250 commit eca80d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internal/pollOutstandingScans.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export const pollOutstandingScans = async ({ request, reply }) => {
console.log(`START POLLING OPEN SCANS`);
const startTime = new Date().getTime();
const jobIds = (await db.query({
text: `SELECT s.job_id FROM scans WHERE s.processing = TRUE`
text: `SELECT job_id FROM scans WHERE s.processing = TRUE`
})).rows.map(obj => obj.job_id);
await db.clean();
const deltaTime = new Date().getTime() - startTime;
Expand Down

0 comments on commit eca80d3

Please sign in to comment.