-
Notifications
You must be signed in to change notification settings - Fork 1
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
Remove client timeout handling and use SDK timeout support instead #10
Comments
After tonight's publish (0.1.0-dev.20211028.*) there should be full support for setting both default and (if necessary) per-call timeouts with the Node client. See samples for how to set defaults. Any feedback based on actual usage is appreciated. |
Taken from the sample, the code shows
|
I would suggest not setting a default gRPC timeout in |
Currently the client has no timeout control on endorse, evaluate or submit so we can take advantage of the timeout support in the api now. We can remove our timeout implementation around getting status now and take advantage of the sdk timeout, however we should leave our timeout processing for chaincode events in place. The chaincode event options isn't applicable to our implementation. |
@bestbeforetoday Could you please help me differentiate these error messages during commit timeout ? |
We should move our test client to use the official timeouts. What would be good to test as well would be that the client doesn't remain hanging on exit (it would mean changing the client to just exit the loop when ctrl-c is received but not doing a process.exit() ) if timeouts or problems are hit
The text was updated successfully, but these errors were encountered: