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

Make the Web RPC client respect node timeouts and retries #1817

Open
Twey opened this issue Mar 22, 2024 · 0 comments
Open

Make the Web RPC client respect node timeouts and retries #1817

Twey opened this issue Mar 22, 2024 · 0 comments

Comments

@Twey
Copy link
Contributor

Twey commented Mar 22, 2024

In #1738 we add the ability to connect to the Linera validator RPC service from a Web browser or other JavaScript environment. However, the means of implementation (the Web standard fetch call) does not support timeouts or retries out of the box. These can be implemented on top, but require further wasm-bindgen wizardry to implement a solution based on AbortController and a retry loop. To unify the behaviour of the Web and native interfaces, we should really make sure the Web interface interprets its NodeOptions the same way as the native interface.

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

1 participant