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

clientv3: support non-blocking New() #6166

Merged
merged 1 commit into from
Aug 12, 2016

Conversation

heyitsanthony
Copy link
Contributor

Fixes #6162

@@ -31,6 +31,9 @@ type Config struct {
// DialTimeout is the timeout for failing to establish a connection.
DialTimeout time.Duration

// DialNoWait, when true, returns a Client before establishing a connection.
DialNoWait bool
Copy link
Contributor

Choose a reason for hiding this comment

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

shall we make dialNoWait true by default?

@heyitsanthony heyitsanthony force-pushed the clientv3-nonblock-new branch from 1902a14 to 3fc0a53 Compare August 12, 2016 17:01
@heyitsanthony heyitsanthony changed the title clientv3: add DialNoWait to Config for non-blocking New() clientv3: support non-blocking New() Aug 12, 2016
@xiang90
Copy link
Contributor

xiang90 commented Aug 12, 2016

lgtm

@heyitsanthony heyitsanthony force-pushed the clientv3-nonblock-new branch from 3fc0a53 to 429d5ab Compare August 12, 2016 17:33
@heyitsanthony heyitsanthony merged commit 67b1c7c into etcd-io:master Aug 12, 2016
@timothysc
Copy link

can this get picked to 3-branch?

@xiang90
Copy link
Contributor

xiang90 commented Aug 12, 2016

@timothysc Yes. It will happen soon. We are now blocked by some gRPC issues again for a new release. :(

@timothysc
Copy link

Is there a pending 3.0.5 we should be aware of, or are we good with 3.0.4?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants