Skip to content

How to block client creation on etcd being up? #17197

Answered by serathius
mayooot asked this question in Q&A
Discussion options

You must be logged in to vote

By default grpc client will not block on startup. You can set DialOptions: []grpc.DialOption{grpc.WithBlock()}, to get the behavior you want.

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by serathius
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #17187 on January 04, 2024 09:34.