timgit / pg-boss

Queueing jobs in Postgres from Node.js like a boss
MIT License
2.15k stars 160 forks source link

Allow partial failure of a batch #524

Open foteiniskiada opened 1 day ago

foteiniskiada commented 1 day ago

In case some of the jobs included in a batch fails, make sure to mark only the actually failed ones as failed with the correct error and allow the rest complete successfully (as long as your callback returns the necessary data).