69228b2947
refs https://github.com/TryGhost/Team/issues/2246 - This change helps avoid race conditions due to a lack of a transaction in the email job. It also moves the status check before creating the email batches (can take a while) to prevent other timing issues in case the job got scheduled multiple times. - Sets the patch option to true when changing the status of an email batch. If we don't do this, the bookshelf-relations plugin might try to save relations too. This could have caused a 'no rows updated' error. - Added a test that tests if the email job can only run once - Added logging to batching logic |
||
---|---|---|
.. | ||
exporter | ||
importer | ||
migrations | ||
services | ||
settings | ||
url_service.test.js |