You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation states the following for connection_timeout and response_timeout configuration options:
Optional parameter. Connection timeout is equal to 2 ms by default.
Optional parameter. A SMTP server response timeout is equal to 2 ms by default.
I understand that timeouts are specified in milliseconds. However, after taking a look at the source code, it seems to me that Timeout.timeout is used to handle timeouts, which uses seconds.
Is the documentation wrong, or should timeouts be handled on milliseconds rather than seconds?
Complete output when running truemail, including the stack trace and command used
[INSERT OUTPUT HERE]
The text was updated successfully, but these errors were encountered:
Hola, @wikiti! First of all I want to say thank you for your report. You're absolutely right! In point of fact Timeout.timeout, Net::SMTP#open_timeout, Net::SMTP#read_timeout use seconds, so Truemail uses seconds too. And this time there're wrong time units for configuration timeouts in readme and project docs. I will fix it today.
bestwebua
changed the title
Are configurable timeouts specified on seconds or milliseconds?
[QUESTION] Are configurable timeouts specified on seconds or milliseconds?
Nov 15, 2020
New Issue Checklist
Issue Description
The documentation states the following for
connection_timeout
andresponse_timeout
configuration options:I understand that timeouts are specified in milliseconds. However, after taking a look at the source code, it seems to me that Timeout.timeout is used to handle timeouts, which uses seconds.
Is the documentation wrong, or should timeouts be handled on milliseconds rather than seconds?
Complete output when running truemail, including the stack trace and command used
The text was updated successfully, but these errors were encountered: