Skip to content

Commit da02cb8

Browse files
committed
Refs #23432. Make transport_priority updates be transmitted.
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
1 parent bc1a8c2 commit da02cb8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/cpp/fastdds/publisher/qos/DataWriterQos.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ WriterQos DataWriterQos::get_writerqos(
5656
qos.m_userData = user_data();
5757
qos.representation = representation();
5858
qos.data_sharing = data_sharing();
59+
qos.transport_priority = transport_priority();
5960

6061
if (qos.data_sharing.kind() != OFF &&
6162
qos.data_sharing.domain_ids().empty())

src/cpp/rtps/builtin/data/WriterProxyData.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1606,7 +1606,7 @@ void WriterProxyData::set_qos(
16061606
{
16071607
resource_limits = qos.resource_limits;
16081608
}
1609-
if (first_time && qos.transport_priority.has_value())
1609+
if (qos.transport_priority.has_value())
16101610
{
16111611
transport_priority = qos.transport_priority;
16121612
}
@@ -1705,6 +1705,7 @@ void WriterProxyData::set_qos(
17051705
{
17061706
ownership_strength = qos.m_ownershipStrength;
17071707
}
1708+
transport_priority = qos.transport_priority;
17081709
if (first_time)
17091710
{
17101711
disable_positive_acks = qos.m_disablePositiveACKs;

0 commit comments

Comments
 (0)