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

Do not count iterations aborted during shutdown #9

Merged

Conversation

argerus
Copy link
Contributor

@argerus argerus commented Dec 12, 2024

Without this the displayed number of published updates will not match the number of received updates when aborting a run.

Also remove a superfluous Arc<RwLock>

Without this the displayed number of published updates did not match the
number of received updates when aborting a run.
Wrapping the shutdown handler in an Arc<RwLock> is unnecessary as it can
be cloned freely.
@argerus argerus force-pushed the feature/fix_recording_during_shutdown branch from 3addb4a to 8749403 Compare December 12, 2024 08:46
@erikbosch
Copy link
Contributor

If this is merged we do not need #8 right?

Looks good to me. Downloaded it and started it and used ctrl-c, seems ok

If you like you could increase version in Cargo.toml to 0.3.2 and update lock so we can trigger a new release as stated in https://github.com/eclipse-kuksa/kuksa-perf/wiki/Release-Process

@argerus
Copy link
Contributor Author

argerus commented Dec 12, 2024

If this is merged we do not need #8 right?

No, exactly.

Copy link
Contributor

@erikbosch erikbosch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@erikbosch erikbosch merged commit 5d4a4af into eclipse-kuksa:main Dec 12, 2024
11 checks passed
@erikbosch erikbosch deleted the feature/fix_recording_during_shutdown branch December 12, 2024 09:42
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

Successfully merging this pull request may close these issues.

2 participants