3e57e6fe10
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! |
||
---|---|---|
.. | ||
core | ||
custom-theme-settings-service | ||
domain-events | ||
email-analytics-provider-mailgun | ||
email-analytics-service | ||
express-dynamic-redirects | ||
magic-link | ||
member-analytics-service | ||
member-events | ||
members-analytics-ingress | ||
members-api | ||
members-csv | ||
members-events-service | ||
members-importer | ||
members-ssr | ||
offers | ||
payments | ||
stripe | ||
verification-trigger |