Ghost/ghost/mailgun-client
Daniel Lockyer 36c0b7d2bd
Added 60s timeout to Mailgun API calls
refs https://github.com/TryGhost/Toolbox/issues/164

- see referenced issue for more context but Ghost sometimes has issues
  with the email analytics job getting stuck
- we don't provide a timeout to the Mailgun library, so we just
  sit there idling for eternity if something between us and Mailgun is
  causing issues
- this commit adds a 60s timeout so we can at least error out and try
  again next time
2022-08-24 09:13:13 +02:00
..
lib Added 60s timeout to Mailgun API calls 2022-08-24 09:13:13 +02:00
test Fixed batch size when sending bulk emails 2022-08-18 22:04:00 +02: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 Organized package dependencies 2022-08-18 11:55:49 +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