mirror of
https://github.com/acaloiaro/neoq
synced 2026-07-21 18:29:08 +00:00
feat: Make fingerprint unique to each queue
This commit is contained in:
parent
3afe2fab65
commit
1fb07c03c5
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