zlacker

[parent] [thread] 0 comments
1. vb-844+(OP)[view] [source] 2023-09-25 07:35:26
> With a Postgres queue, if you insert the job to send the email and then in a later part of the transaction, something fails and the transaction rollbacks, the email is never queued to be sent.

An option could be use a second connection and a separate transaction to insert data in the queue table.

[go to top]