Ghost/core
Daniel Lockyer 1c7d4e49c5
Disabled model auto-refresh when processing email batches
- by default, the model will auto-refresh when you save
- in MySQL, which doesn't support RETURNING, this is implemented by
  doing a SELECT after your actual query
- `email_recipients` is a huge table and `processed_at` is not an
  indexed column, so the query times can become realllyyyyyyy big
- given we don't even need the result of the model save, we can just
  disable fetching all the affected records again
- Bookshelf gives us this ability in the form of `autoRefresh: false`
2022-05-10 18:11:15 +01:00
..
client@5751899e5b Updated Admin to v4.46.0 2022-04-28 15:29:18 +01:00
frontend 🔥 Removed {{author}} helper support 2022-05-02 17:59:48 +08:00
server Disabled model auto-refresh when processing email batches 2022-05-10 18:11:15 +01:00
shared Deleted membersActivity flag 2022-05-10 11:19:58 +01:00
app.js Fixed express app stacking 2021-12-06 21:28:53 +13:00
boot.js Removed api:versions from config 2022-05-06 08:22:05 +01:00
bridge.js Removed sync method from route settings loader 2022-04-28 15:37:09 +01:00