zlacker

[parent] [thread] 0 comments
1. ryanbr+(OP)[view] [source] 2023-09-24 23:45:02
Another benefit of this is that you're guaranteed that the transaction is completed before the job is picked up. With redis-backed queues (or really anything else), you very quickly run into the situation where your queue executes a job depending on a database record existing prior to the transaction being committed (and the fix for this is usually awkward / complex code).
[go to top]