Skip to content

Commit 3059113

Browse files
dpotmaneboasson
authored andcommitted
Change default for PSMX-IOX keyed topics option
This changes the default of the KEYED_TOPICS option in the Iceoryx PSMX plugin to 'true', aligning it with the pre-PSMX behavior in Cyclone 0.10.x. Despite limitations in key support within the Iceoryx integration, enabling this option by default seems a reasonable choice. Signed-off-by: Dennis Potman <[email protected]>
1 parent dce11c0 commit 3059113

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/psmx_iox/src/psmx_iox_impl.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -708,11 +708,11 @@ dds_return_t iox_create_psmx(struct dds_psmx **psmx, dds_psmx_instance_id_t inst
708708
return DDS_RETCODE_ERROR;
709709

710710
auto opt_keyed_topics = get_config_option_value(config, "KEYED_TOPICS", true);
711-
bool keyed_topics = false;
711+
bool keyed_topics = true;
712712
if (opt_keyed_topics.has_value()) {
713-
if (opt_keyed_topics.value() == "true")
714-
keyed_topics = true;
715-
else if (opt_keyed_topics.value() != "false")
713+
if (opt_keyed_topics.value() == "false")
714+
keyed_topics = false;
715+
else if (opt_keyed_topics.value() != "true")
716716
return DDS_RETCODE_ERROR;
717717
}
718718

0 commit comments

Comments
 (0)