Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retry mailer tasks on SMTP failure #3823

Merged
merged 1 commit into from Sep 2, 2016
Merged

Commits on Sep 2, 2016

  1. Retry mailer tasks on SMTP failure

    We are seeing evidence that occasionally the Mandrill SMTP server
    disconnects our mailer, or perhaps that the network between our
    application and Mandrill occasionally drops:
    
      https://sentry.io/hypothesis/prod/issues/152186124/
    
    This commit adds retry logic to the mailer task to ensure that in the
    event of any kind of network or SMTP error, the task is requeued for
    another delivery attempt later.
    
    With the current configuration we will attempt to deliver mail four
    times (i.e. 3 retries) over a period of approximately 20 minutes, using
    an exponential backoff.
    nickstenning committed Sep 2, 2016
    Copy the full SHA
    c13531b View commit details
    Browse the repository at this point in the history