Skip to content

Commit

Permalink
fix: align the default value of reliability
Browse files Browse the repository at this point in the history
  • Loading branch information
YuanYuYuan committed Jan 7, 2025
1 parent 8dce692 commit fcd8937
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/zenoh/api/session.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
#endif
/// @brief the timestamp of this message.
std::optional<Timestamp> timestamp = {};
Expand Down Expand Up @@ -588,7 +588,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 put operation reliability.
Reliability reliability = Reliability::Z_RELIABILITY_BEST_EFFORT;
Reliability reliability = Reliability::Z_RELIABILITY_RELIABLE;
#endif
#if defined(ZENOHCXX_ZENOHC) && defined(Z_FEATURE_UNSTABLE_API)
/// @warning This API has been marked as unstable: it works as advertised, but it may be changed in a future
Expand Down Expand Up @@ -648,7 +648,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 publisher reliability.
Reliability reliability = Reliability::Z_RELIABILITY_BEST_EFFORT;
Reliability reliability = Reliability::Z_RELIABILITY_RELIABLE;
#endif
#if defined(ZENOHCXX_ZENOHC) && defined(Z_FEATURE_UNSTABLE_API)
/// @warning This API has been marked as unstable: it works as advertised, but it may be changed in a future
Expand Down

0 comments on commit fcd8937

Please sign in to comment.