zlacker

[parent] [thread] 0 comments
1. maherb+(OP)[view] [source] 2023-11-20 17:58:22
I think you may be misunderstanding the design here. The transaction for initiating the job is only for queuing. The dequeue and execution of the job happens in a separate process.

The example on the home page makes this clear where a user is created and a job is created at the same time. This ensures that the job is queued up with the user creation. If any parts of that initial transaction fails, then the job queuing doesn't actually happen.

[go to top]