Skip to content

Commit

Permalink
feat: Make fingerprint unique to each queue
Browse files Browse the repository at this point in the history
  • Loading branch information
acaloiaro committed Mar 2, 2024
1 parent 9a555f1 commit 0c32209
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
DROP INDEX IF EXISTS neoq_jobs_fingerprint_unique_idx;
CREATE UNIQUE INDEX IF NOT EXISTS neoq_jobs_fingerprint_unique_idx ON neoq_jobs (queue, fingerprint, status) WHERE NOT (status = 'processed');

0 comments on commit 0c32209

Please sign in to comment.