0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/models/base
Katharina Irrgang d6aaf2dbc7 🎨 do not run model listeners on import (#8720)
no issue

- if you upload a huge import file, parallel operations can throw errors e.g. lock wait exceeds
- this can happen if multiple transactions run in parallel
- there is no need to run:
  1. the removal of active tokens on import, because imported users have no active session
  2. rescheduling logic on timezone, because importing scheduled posts works out of the box via the model layer (if a published date is detected and it's in the future, the post get's scheduled)
2017-07-21 09:58:58 +01:00
..
index.js 🐛 import invalid dates (#8712) 2017-07-20 11:24:23 +01:00
listeners.js 🎨 do not run model listeners on import (#8720) 2017-07-21 09:58:58 +01:00
token.js 🐛 🎨 old accesstokens are not cleaned up (#8065) 2017-03-01 10:12:03 +00:00
utils.js 🙀 Image field naming & new img_url helper (#8364) 2017-04-24 18:21:47 +01:00