Ghost/ghost
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
..
core Moved jobmanager initialization logic 2022-07-21 17:00:45 +01:00
custom-theme-settings-service Pin dependencies 2022-07-21 16:27:57 +02:00
domain-events Removed posttest linting step 2022-07-21 10:09:36 +02:00
email-analytics-provider-mailgun Pinned internal packages 2022-07-21 16:35:19 +02:00
email-analytics-service Pin dependencies 2022-07-21 16:27:57 +02:00
express-dynamic-redirects Removed posttest linting step 2022-07-21 10:09:36 +02:00
magic-link Pin dependencies 2022-07-21 16:27:57 +02:00
member-analytics-service Pinned internal packages 2022-07-21 16:35:19 +02:00
member-events Removed posttest linting step 2022-07-21 10:09:36 +02:00
members-analytics-ingress Pinned internal packages 2022-07-21 16:35:19 +02:00
members-api Pinned internal packages 2022-07-21 16:35:19 +02:00
members-csv Pin dependencies 2022-07-21 16:27:57 +02:00
members-events-service Pinned internal packages 2022-07-21 16:35:19 +02:00
members-importer Pinned internal packages 2022-07-21 16:35:19 +02:00
members-ssr Pin dependencies 2022-07-21 16:27:57 +02:00
offers Pin dependencies 2022-07-21 16:27:57 +02:00
payments Pinned internal packages 2022-07-21 16:35:19 +02:00
stripe Pinned internal packages 2022-07-21 16:35:19 +02:00
verification-trigger Pinned internal packages 2022-07-21 16:35:19 +02:00