From e67f92daf31d285a6b46feee830a210fc84ad686 Mon Sep 17 00:00:00 2001 From: eProsima Date: Wed, 16 Oct 2024 23:11:46 +0200 Subject: [PATCH 1/3] Refs #21908: Adjust XML snippets to meet QoS constraints Signed-off-by: eProsima --- code/XMLTester.xml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/code/XMLTester.xml b/code/XMLTester.xml index fc95fa5bc..2687a3b96 100644 --- a/code/XMLTester.xml +++ b/code/XMLTester.xml @@ -1978,9 +1978,9 @@ 20 - 5 - 2 - 1 + 100 + 5 + 20 20 10 @@ -1995,9 +1995,9 @@ 20 - 5 - 2 - 1 + 100 + 5 + 20 20 10 @@ -3621,7 +3621,7 @@ - 200 + 2000 20 100 50 @@ -3632,7 +3632,7 @@ - 200 + 2000 20 100 50 From 8431f9c79476a72469e9c65ecf0ac4c1f23e8098 Mon Sep 17 00:00:00 2001 From: eProsima Date: Thu, 17 Oct 2024 12:23:59 +0200 Subject: [PATCH 2/3] Refs #21908: ARS - Revert unnecessary changes Signed-off-by: eProsima --- code/XMLTester.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/code/XMLTester.xml b/code/XMLTester.xml index 2687a3b96..ea249964c 100644 --- a/code/XMLTester.xml +++ b/code/XMLTester.xml @@ -1978,9 +1978,9 @@ 20 - 100 - 5 - 20 + 5 + 2 + 1 20 10 @@ -1995,9 +1995,9 @@ 20 - 100 - 5 - 20 + 5 + 2 + 1 20 10 From b39626cfd940ef8e967aac7bce88c4417410d317 Mon Sep 17 00:00:00 2001 From: eProsima Date: Thu, 17 Oct 2024 12:26:51 +0200 Subject: [PATCH 3/3] Refs #21908: ARS - Add missing snippet change Signed-off-by: eProsima --- code/DDSCodeTester.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/DDSCodeTester.cpp b/code/DDSCodeTester.cpp index a96f2781a..08b229b9c 100644 --- a/code/DDSCodeTester.cpp +++ b/code/DDSCodeTester.cpp @@ -4288,13 +4288,13 @@ void dds_qos_examples() // This example uses a DataWriter, but it can also be applied to DataReader and Topic entities DataWriterQos writer_qos; // The ResourceLimitsQosPolicy is constructed with max_samples = 5000 by default - // Change max_samples to 200 - writer_qos.resource_limits().max_samples = 200; + // Change max_samples to 2000 + writer_qos.resource_limits().max_samples = 2000; // The ResourceLimitsQosPolicy is constructed with max_instances = 10 by default // Change max_instances to 20 writer_qos.resource_limits().max_instances = 20; // The ResourceLimitsQosPolicy is constructed with max_samples_per_instance = 400 by default - // Change max_samples_per_instance to 100 as it must be lower than max_samples + // Change max_samples_per_instance to 100 writer_qos.resource_limits().max_samples_per_instance = 100; // The ResourceLimitsQosPolicy is constructed with allocated_samples = 100 by default // Change allocated_samples to 50