mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 14:03:48 +03:00
9bb2bc82bd
- 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 |
||
---|---|---|
.. | ||
lib | ||
test | ||
.eslintrc.js | ||
index.js | ||
package.json | ||
README.md |
Mailgun Client
Mailgun client for Ghost
Usage
Test
yarn lint
run just eslintyarn test
run lint and tests