-
Notifications
You must be signed in to change notification settings - Fork 34
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
fix: align the default value of reliability #351
Conversation
PR missing one of the required labels: {'dependencies', 'new feature', 'enhancement', 'internal', 'breaking-change', 'documentation', 'bug'} |
include/zenoh/api/session.hxx
Outdated
@@ -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; |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
eda951c
to
ff686d6
Compare
@DenisBiryukov91 I've rebased it to the main branch and applied your suggestion. Can you have a look? |
This PR sets the same default reliability value as zenoh rust.