Skip to content

Fix connection timeout#1

Open
ztanis wants to merge 2 commits intomasterfrom
fix-connection-timeout
Open

Fix connection timeout#1
ztanis wants to merge 2 commits intomasterfrom
fix-connection-timeout

Conversation

@ztanis
Copy link
Copy Markdown

@ztanis ztanis commented May 9, 2017

  • fix connection and read timeout. Expected behaviour is that connection timeout is 10 seconds. But really it was still 60 seconds. The reason is that Net::Http.start method starts connection with default current timeouts and than applies passed block.
  • allow to configure connection_timeout and read_timeout.
  • fix outdated usage examples in README (Very basic documentation issues, and possibly a bug. ruby-druid/ruby-druid#7).
  • add example of connection to static host rather than using zookeeper service discovery.

@vlaew vlaew mentioned this pull request Oct 3, 2019
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