Ghost/core/server/services/email-analytics/jobs
Kevin Ansfield d675278b0b
Prevented scheduling of recurring analytics jobs when not using emails (#12441)
no issue

- recurring jobs spin up worker threads which can be quite CPU intensive even when not performing much processing, this can be problematic in environments where there are many Ghost instances running
- updated the email job scheduling to be skipped on bootup when there are no emails in the database and to be started when the first email is created as long as we're not in testing env
- increase analytics job schedule from every 2 minutes to every 5 minutes to help spread the load further across instances
2020-12-02 08:17:44 +00:00
..
fetch-all.js Fixed sqlite3 errors when email analytics jobs run (#12431) 2020-11-26 15:12:12 +00:00
fetch-latest.js Fixed sqlite3 errors when email analytics jobs run (#12431) 2020-11-26 15:12:12 +00:00
index.js Prevented scheduling of recurring analytics jobs when not using emails (#12441) 2020-12-02 08:17:44 +00:00