Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

Add timeouts to rpc calls #28

Open
rklaehn opened this issue Dec 21, 2022 · 0 comments
Open

Add timeouts to rpc calls #28

rklaehn opened this issue Dec 21, 2022 · 0 comments

Comments

@rklaehn
Copy link
Contributor

rklaehn commented Dec 21, 2022

Currently we don't do that. Hyper / tonic had a default timeout for all calls. 10 seconds?

I don't think that is a good idea, but some timeout might be necessary. Otherwise iroh gw will hang waiting for a response sometimes.

Timeouts should be done explicitly in the handler functions, on a per call basis.

@dignifiedquire dignifiedquire transferred this issue from n0-computer/iroh Feb 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant