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

feat: Add listen timeouts to iroha cli #5241

Merged
merged 20 commits into from
Nov 21, 2024

Conversation

aoyako
Copy link
Contributor

@aoyako aoyako commented Nov 18, 2024

Resolves #2941

Now iroha-cli can take argument --timeout=<seconds> for listen commands. The client will exit when no message is received during this interval.


Review notes (optional)

  • For complex PRs, try to provide some information on how to approach the review more effectively.
  • For example, is there a natural order in which the affected files should be reviewed?

Checklist

  • I've read CONTRIBUTING.md.
  • (optional) I've written unit tests for the code changes.
  • All review comments have been resolved.
  • All CI checks pass.

Signed-off-by: Lohachov Mykhailo <[email protected]>
Signed-off-by: Lohachov Mykhailo <[email protected]>
@aoyako aoyako changed the title Add listen timeouts to iroha cli feat: Add listen timeouts to iroha cli Nov 18, 2024
@s8sato s8sato self-assigned this Nov 18, 2024
crates/iroha_cli/src/main.rs Outdated Show resolved Hide resolved
crates/iroha_cli/src/main.rs Outdated Show resolved Hide resolved
crates/iroha_cli/src/main.rs Show resolved Hide resolved
Signed-off-by: Lohachov Mykhailo <[email protected]>
Signed-off-by: Lohachov Mykhailo <[email protected]>
Signed-off-by: Lohachov Mykhailo <[email protected]>
Signed-off-by: Lohachov Mykhailo <[email protected]>
@github-actions github-actions bot added the config-changes Changes in configuration and start up of the Iroha label Nov 18, 2024
Copy link

@BAStos525

Signed-off-by: Lohachov Mykhailo <[email protected]>
Signed-off-by: Lohachov Mykhailo <[email protected]>
Signed-off-by: Lohachov Mykhailo <[email protected]>
Signed-off-by: Lohachov Mykhailo <[email protected]>
s8sato
s8sato previously approved these changes Nov 20, 2024
crates/iroha_cli/src/main.rs Show resolved Hide resolved
pytests/iroha_cli_tests/test/events/__init__.py Outdated Show resolved Hide resolved
@aoyako aoyako enabled auto-merge (squash) November 21, 2024 10:42
@aoyako aoyako merged commit 8836304 into hyperledger-iroha:main Nov 21, 2024
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config-changes Changes in configuration and start up of the Iroha
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[suggestion] Events listening timeout in Client CLI
5 participants