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 timeouts to client calls #69

Closed
ongardie opened this Issue Dec 3, 2014 · 0 comments

Comments

Projects
None yet
1 participant
@ongardie
Copy link
Member

ongardie commented Dec 3, 2014

This'll be useful for implementing leases.

@ongardie ongardie added the wishlist label Dec 3, 2014

@ongardie ongardie self-assigned this Dec 3, 2014

ongardie added a commit that referenced this issue Dec 31, 2014

Add timeouts to waiting for RPC::ClientRPCs
This exposes a timeout all the way up from the ClientSession condition
variable up to ClientRPC, so that one day clients will be able to time
out their requests. Note that the client library does not yet make use
of these timeouts; that will be in a subsequent commit.

Towards #69: add timeouts to client calls

ongardie added a commit that referenced this issue Dec 31, 2014

Add timeout to ClientSession connections
This makes it possible to time out waiting for a TCP connection.
This commit is just the low-level feature, and it is not used in the
client library yet.

Towards #69: add timeouts to client calls

ongardie added a commit that referenced this issue Jan 5, 2015

Add timeouts to client library
See LogCabin::Client::Tree::setTimeout().

A couple of caveats left for later:
- #75: implement timeout for RPC::Address::refresh()
- #76: rethink ClientImpl::negotiateRPCVersion

Close #69: add timeouts to client calls

@ongardie ongardie closed this in 0e55943 Jan 5, 2015

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