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

Support timeouts in juliet's rpc layer #4139

Closed
RitaMAllenCA opened this issue Jul 17, 2023 · 0 comments
Closed

Support timeouts in juliet's rpc layer #4139

RitaMAllenCA opened this issue Jul 17, 2023 · 0 comments
Assignees

Comments

@RitaMAllenCA
Copy link

RitaMAllenCA commented Jul 17, 2023

Currently there is no concept of time in the juliet crate. It would be great to move all related functionality from the node into the rpc (and potentially io) layer, specifically:
[ ] Attempting to send an error reply should eventually timeout to force a connection close
[ ] Supporting timeouts on requests. A request timing out should be a regular outcome of the request, similar to a response cancellation. Care must be taken to ensure that timed out requests are cancelled as early as possible (e.g. before they leave the requesting peer).
[ ] Built-in ping support. This may be in the form of just a heartbeat, letting the timeout requests do the heavy lifting.

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

No branches or pull requests

2 participants