Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated getSubmissions to filter out errored submissions with allowRe…
Browse files Browse the repository at this point in the history
…try set to false
ziggy-cyb committed Nov 7, 2023
1 parent 2251e98 commit 89a6abe
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions submitter/src/submission/services/queueService.ts
Original file line number Diff line number Diff line change
@@ -41,9 +41,18 @@ export class QueueService {
webhook_url: {
not: null,
},
retry_counter: {
lt: this.MAX_RETRIES,
},
OR: [
{
allow_retry: true,
retry_counter: {
lt: this.MAX_RETRIES,
},
},
{
allow_retry: false,
error: null,
},
],
},
orderBy: [
{

0 comments on commit 89a6abe

Please sign in to comment.