Skip to content

Commit

Permalink
update concurrent queue check
Browse files Browse the repository at this point in the history
  • Loading branch information
mertalev committed Mar 24, 2024
1 parent 0ff67ee commit 722c878
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion server/src/services/job.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,11 @@ export class JobService {
}

private isConcurrentQueue(name: QueueName): name is ConcurrentQueueName {
return ![QueueName.FACIAL_RECOGNITION, QueueName.STORAGE_TEMPLATE_MIGRATION].includes(name);
return ![
QueueName.FACIAL_RECOGNITION,
QueueName.STORAGE_TEMPLATE_MIGRATION,
QueueName.DUPLICATE_DETECTION,
].includes(name);
}

async handleNightlyJobs() {
Expand Down

0 comments on commit 722c878

Please sign in to comment.