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

Add HTTP open_timeout #134

Merged
merged 3 commits into from
Apr 19, 2014
Merged

Add HTTP open_timeout #134

merged 3 commits into from
Apr 19, 2014

Conversation

n-rodriguez
Copy link
Contributor

If the url is wrong or not responding, timeout after open_timeout.
Keep it separated from read_timeout.

# for various operations.
#
class Client
attr_accessor :timeout, :logger
attr_accessor :open_timeout, :read_timeout, :logger
Copy link
Owner

Choose a reason for hiding this comment

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

Can we name these as http_open_timeout and http_read_timeout to avoid ambiguity?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No problem. Do you still need @timeout parameter?

Copy link
Owner

Choose a reason for hiding this comment

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

Yes, let's leave it there as it is used in the System class.

@arangamani
Copy link
Owner

Also the CI build is failing because the newly added attributes are not mocked yet, could you please fix that as well if you get a chance?

@n-rodriguez
Copy link
Contributor Author

Hi! Is that good for you?

@arangamani
Copy link
Owner

Looks great!

arangamani added a commit that referenced this pull request Apr 19, 2014
@arangamani arangamani merged commit f865cd4 into arangamani:master Apr 19, 2014
@arangamani
Copy link
Owner

Released as 1.0.0.beta.6.

@ghost
Copy link

ghost commented Apr 19, 2014

Great! Thank you!

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