Ghost/ghost
Simon Backx 4b0ca9399d 🐛 Reduced concurrency when fetching Mailgun events (#16176)
refs https://github.com/TryGhost/Team/issues/2482

This change adds a small sleep in between dispatching events in the
worker thread that reads the events from Mailgun. That should reduce the
amount of queries we fire parallel to each other and could cause the
connection pool to run out of connections.

It also reduces the amount of concurrent sending to 2 from 10. Also to
make sure the connection pool doesn't run out of connections while
sending emails, and to reduce the chance of new connections falling back
on a (delayed) replicated database.
2023-01-25 13:07:01 +01:00
..
adapter-manager Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
admin Update sentry-javascript monorepo to v7.33.0 2023-01-25 08:40:51 +01:00
api-framework Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
api-version-compatibility-service Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
audience-feedback Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
bootstrap-socket Added version information to log lines 2023-01-20 13:18:44 +01:00
constants Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
core 🐛 Reduced concurrency when fetching Mailgun events (#16176) 2023-01-25 13:07:01 +01:00
custom-theme-settings-service Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
data-generator Added WebMentions to data generator 2023-01-23 17:39:00 +00:00
domain-events Added version information to log lines 2023-01-20 13:18:44 +01:00
dynamic-routing-events Added dynamic-routing-events package 2023-01-23 16:33:41 +08:00
email-analytics-provider-mailgun Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
email-analytics-service Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
email-content-generator Update dependency fs-extra to v11 2022-12-13 10:59:55 +07:00
email-events Added 100% test coverage for EmailEventStorage 2023-01-10 16:36:41 +01:00
email-service 🐛 Reduced concurrency when fetching Mailgun events (#16176) 2023-01-25 13:07:01 +01:00
email-suppression-list Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
express-dynamic-redirects Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
extract-api-key Fixed full Admin test suite running during unit tests 2022-08-15 15:34:52 +02:00
html-to-plaintext Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
i18n Update dependency i18next to v22.4.9 2023-01-19 17:58:16 +00:00
importer-revue Updated Koenig packages 2023-01-04 11:27:39 +01:00
job-manager Added version information to log lines 2023-01-20 13:18:44 +01:00
link-redirects Update dependency @types/express to v4.17.16 2023-01-25 11:28:02 +01:00
link-replacer Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
link-tracking Lowered threshold for link-tracking coverage 2023-01-04 11:27:39 +01:00
magic-link Update dependency @types/nodemailer to v6.4.7 2023-01-03 18:46:57 +01:00
mailgun-client Added version information to log lines 2023-01-20 13:18:44 +01:00
member-attribution Added outbound link tagging setting (#16146) 2023-01-20 13:41:36 +01:00
member-events Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
members-api Added version information to log lines 2023-01-20 13:18:44 +01:00
members-csv Update dependency fs-extra to v11 2022-12-13 10:59:55 +07:00
members-events-service Added version information to log lines 2023-01-20 13:18:44 +01:00
members-importer Added version information to log lines 2023-01-20 13:18:44 +01:00
members-ssr Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
minifier Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
mw-api-version-mismatch Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
mw-cache-control Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
mw-error-handler Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
mw-session-from-token Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
mw-update-user-last-seen Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
mw-vhost Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
oembed-service Update metascraper to v5.33.5 2023-01-23 12:04:33 +00:00
offers Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
package-json Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
payments Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
portal Update sentry-javascript monorepo to v7.33.0 2023-01-25 08:40:51 +01:00
referrers Added new urls to known referrers list for source attribution 2023-01-20 18:13:05 +05:30
security Updated @tryghost dependencies (#16005) 2022-12-14 11:18:55 +07:00
session-service Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
settings-path-manager Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
staff-service Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
stats-service Update dependency knex to v2.4.2 2023-01-23 13:00:53 +01:00
stripe Added version information to log lines 2023-01-20 13:18:44 +01:00
tiers Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
update-check-service Added version information to log lines 2023-01-20 13:18:44 +01:00
verification-trigger Improved email verification required checks (#16060) 2023-01-04 11:22:12 +01:00
version-notifications-data-service Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
webmentions Added BookshelfMentionRepository implementation (#16156) 2023-01-20 14:32:50 +01:00