Ghost/ghost/mailgun-client
Daniel Lockyer 9bb2bc82bd Fixed erroneous timing in reported Mailgun metrics
- we have calls to the metrics library so we can measure the time it
  takes the Mailgun API to return a response
- however, there's a bug in the code whereby if the `batchHandler`
  takes a long time and then throws an error, this time will be reported
  to metrics
- this is misleading because it looks like Mailgun is taking a long time
  if the databases are slow
- this pulls the specific SDK call out into a function so it's easier to
  wrap with timing code
2023-05-01 15:05:59 +02:00
..
lib Fixed erroneous timing in reported Mailgun metrics 2023-05-01 15:05:59 +02:00
test Implemented email analytics retrying (#16273) 2023-02-20 16:44:13 +01:00
.eslintrc.js Extracted Mailgun client to separate package 2022-08-10 17:12:37 +02:00
index.js Extracted Mailgun client to separate package 2022-08-10 17:12:37 +02:00
package.json Update @tryghost 2023-04-07 13:47:12 +02:00
README.md Extracted Mailgun client to separate package 2022-08-10 17:12:37 +02:00

Mailgun Client

Mailgun client for Ghost

Usage

Test

  • yarn lint run just eslint
  • yarn test run lint and tests