Skip to content

Timeouts and a records#29

Open
mreinsch wants to merge 3 commits intokamilc:masterfrom
doorkeeper:timeouts-and-a-records
Open

Timeouts and a records#29
mreinsch wants to merge 3 commits intokamilc:masterfrom
doorkeeper:timeouts-and-a-records

Conversation

@mreinsch
Copy link
Copy Markdown

This includes a couple of cleanups, reduces timeouts (30/60 secs is usually too long), and will also fallback to the A record in case no MX record is given (as per RFC).

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

We have to check if it's present some other way, since present? method is being added by Rails. We want to be independent of Rails while supporting it when it's present.

@kamilc
Copy link
Copy Markdown
Owner

kamilc commented Oct 12, 2015

Other than the thing I commented on above, I noticed that it stopped working for me.

irb(main):002:0> EmailVerifier.check "ciemniewski.kamil@gmail.com"
EmailVerifier::NoMailServerException: No mail server for ciemniewski.kamil@gmail.com

While the version from master just works:

irb(main):002:0> EmailVerifier.check "ciemniewski.kamil@gmail.com"
=> true

It can't be merged in at this moment. Could you take a look and provide any fixes? I like the change — it would be great to have it in master.

Thanks

@mreinsch
Copy link
Copy Markdown
Author

Thanks for reviewing it. I just tried the check you posted, and it seems to work fine for me? Could you try once more to make sure it wasn't some strange DNS issue? Otherwise I'll try to dig a bit deeper...

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.

2 participants