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

Allow the user to set the timeout for the peer CLI commands #630

Open
arner opened this issue Nov 2, 2022 · 0 comments
Open

Allow the user to set the timeout for the peer CLI commands #630

arner opened this issue Nov 2, 2022 · 0 comments

Comments

@arner
Copy link

arner commented Nov 2, 2022

The peer CLI commands (peer channel, peer lifecycle, etc) have a flag --connTimeout which sets the timeout to connect to the peer (or orderer, when getting the channel configuration). It defaults to 3 seconds (see https://hyperledger-fabric.readthedocs.io/en/latest/commands/peercommand.html). Unfortunately there are situations where this is not enough. The Ansible playbook currently provides no way to change it. We also tried setting the environment variable CORE_PEER_CLIENT_CONN_TIMEOUT but it did not affect the timeout.

It could be resolved by adding a configuration parameter to the ansible modules to allow the user to override the connTimeout. Or perhaps alternatively to let the user add arbitrary parameters to the peer commands.

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