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

connectTimeout property support #140

Merged
merged 1 commit into from
Apr 5, 2014
Merged

Conversation

seregamorph
Copy link
Contributor

There is an issue.
Try to connect to unreachable network address, e.g. jdbc:postgresql://1.0.0.0/test
Environment: Mac OS, HotSpot, "1.7.0_51"
It hangs for about 60-120 seconds. No general option on Socket.connect(address, timeout) is available to set.

The documentation is updated. And there is a test.

davecramer pushed a commit that referenced this pull request Apr 5, 2014
connectTimeout property support
@davecramer davecramer merged commit 0826c77 into pgjdbc:master Apr 5, 2014
@davecramer
Copy link
Member

Sergey,

Thanks, and I have backpatched it to 9.3 stable

Dave Cramer

On 5 April 2014 09:12, Sergey Chernov notifications@github.com wrote:

There is an issue.
Try to connect to unreachable network address, e.g. jdbc:postgresql://
1.0.0.0/test
Environment: Mac OS, HotSpot, "1.7.0_51"
It hangs for about 60-120 seconds. No general option on
Socket.connect(address, timeout) is available to set.

The documentation is updated. And there is a test.

You can merge this Pull Request by running

git pull https://github.com/seregamorph/pgjdbc master

Or view, comment on, or merge it at:

#140
Commit Summary

  • connectTimeout property support

File Changes

Patch Links:

Reply to this email directly or view it on GitHubhttps://github.com//pull/140
.

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.

None yet

2 participants