3 ms·
It is easy to avoid multiple workers processing the same task: `delete from task where id = (select id from task for update skip locked limit 1) returning *;`
by KrugerDunnings 3y ago
It is easy to avoid multiple workers processing the same task: `delete from task where id = (select id from task for update skip locked limit 1) returning *;`
- throwaway5959 3y agoI didn't say it was difficult, I just said it was the biggest concern. That looks correct.