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

fix: align the default value of reliability #351

Merged
merged 4 commits into from
Jan 7, 2025

Conversation

YuanYuYuan
Copy link
Contributor

@YuanYuYuan YuanYuYuan commented Dec 24, 2024

This PR sets the same default reliability value as zenoh rust.

Copy link

PR missing one of the required labels: {'dependencies', 'new feature', 'enhancement', 'internal', 'breaking-change', 'documentation', 'bug'}

@YuanYuYuan YuanYuYuan added api sync Synchronize API with other bindings internal Changes not included in the changelog labels Dec 24, 2024
@@ -532,7 +532,7 @@ class Session : public Owned<::z_owned_session_t> {
/// @warning This API has been marked as unstable: it works as advertised, but it may be changed in a future
/// release.
/// @brief The delete operation reliability.
Reliability reliability = Reliability::Z_RELIABILITY_BEST_EFFORT;
Reliability reliability = Reliability::Z_RELIABILITY_RELIABLE;
Copy link
Contributor

@DenisBiryukov91 DenisBiryukov91 Jan 6, 2025

Choose a reason for hiding this comment

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

I would rather replace it just with = z_reliability_default.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes. It's better. Updated.

@YuanYuYuan YuanYuYuan force-pushed the fix/align-reliability branch from eda951c to ff686d6 Compare January 7, 2025 07:11
@YuanYuYuan
Copy link
Contributor Author

@DenisBiryukov91 I've rebased it to the main branch and applied your suggestion. Can you have a look?

@YuanYuYuan YuanYuYuan merged commit 53d062c into eclipse-zenoh:main Jan 7, 2025
18 checks passed
@YuanYuYuan YuanYuYuan deleted the fix/align-reliability branch January 9, 2025 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api sync Synchronize API with other bindings internal Changes not included in the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants