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

Allow timeout in connections, retries to be configurable #70

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

connor4312
Copy link

Previously if connections were unhealthy they could easily block up work, and there was no way to set read/write deadlines. This PR fixes that by adding a Timeout property on the Dialer, which is used for both the initial connection establishment and subsequent Send calls.

Copy link

@aenario aenario left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Edited: Oups, my bad, clicked review on the wrong PR. Sorry for the noise.

@pedromorgan
Copy link

@connor4312 Any chance u can make a PR against the fork (WIP)

https://github.com/go-mail/gomail

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants