Skip to content
Snippets Groups Projects

Remove condition on states in getDuplicateJobs().

1 file
+ 1
2
Compare changes
  • Side-by-side
  • Inline
@@ -210,8 +210,7 @@ class Database extends BackendBase implements SupportsDeletingJobsInterface, Sup
$query = $this->connection->select('advancedqueue', 'aq')
->fields('aq')
->condition('queue_id', $this->queueId)
->condition('fingerprint', $fingerprint)
->condition('state', [Job::STATE_QUEUED, Job::STATE_PROCESSING], 'IN');
->condition('fingerprint', $fingerprint);
if ($job->getId() !== NULL) {
$query->condition('job_id', $job->getId(), '<>');
Loading