0053939185
ref https://linear.app/tryghost/issue/ENG-952 - added persistence to the job timestamps This set of changes reduces the potential for gaps in our email event processing by adding persistence to the job timestamps. This avoids expensive queries on the `email_recipients` table after every boot, and reduces reliance on fallbacks in periods of heavy processing or reboot. This is our first use of the jobs table to create a persistent line, instead of its initial use case of single-run jobs. We may expand this capability and move to use of the jobs model over knex.raw in order to make this a bit friendlier. Note: this works with sqlite but datetimes are stored as ints. It still works fine. https://github.com/knex/knex/pull/5272 |
||
---|---|---|
.. | ||
utils | ||
.eslintrc.js | ||
email-analytics-service.test.js | ||
event-processing-result.test.js |