0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/server/data/importer
kirrg001 2a10c83d92 Improved memory usage in importer
no issue

- returning and remembering the data, which was imported, is...
  - not required when using the API
  - not required when importing via script
  - required for tests
  - added an option to have control over it
- make more usage of local variables
  - the GC cannot tidy up variables, which are defined outside of a loop, but used in the loop
- try to keep less memory in process
  - reduce the number of properties we have to remember
2018-01-28 14:26:38 +01:00
..
handlers Use Promise support which was added in fs-extra 3.x 2017-12-13 20:57:11 +01:00
importers Improved memory usage in importer 2018-01-28 14:26:38 +01:00
index.js Moved pipeline/sequence to lib/promise 2017-12-13 22:20:02 +01:00