Ghost/ghost/core
Naz 3e57e6fe10 Moved jobmanager initialization logic
refs https://github.com/TryGhost/Toolbox/issues/357

- In upcoming iteration job manager will need "models" fully initialized to be able to persiste one time jobs. This bit of code of in a bad place as it initialized (through require) the job manager without having models module initialized first.
- The change moves that code from a bad to less bad place (wasn't able to think of any better location for now). Checking for `server:testmode' config in job initialization has a little bit of a smell, but don't think it's super critical. Could be improved if a better structure appears in the future!
2022-07-21 17:00:45 +01:00
..
content
core Moved jobmanager initialization logic 2022-07-21 17:00:45 +01:00
test
.c8rc.json
.eslintignore
.eslintrc.js
.gitignore
.npmignore
config.development.json
ghost.js
Gruntfile.js
index.js
jsconfig.json
loggingrc.js
MigratorConfig.js
package.json Update dependency @playwright/test to v1.23.4 2022-07-21 14:37:19 +02:00