mirror of
https://github.com/acaloiaro/neoq
synced 2026-07-21 10:12:18 +00:00
feat: Make fingerprint unique to each queue
This commit is contained in:
parent
9a555f1407
commit
0c32209612
2 changed files with 2 additions and 0 deletions
|
|
@ -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');
|
||||
Loading…
Reference in a new issue