Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: