From bc817f9c74fcd377eb2481439ce7b70761e45ba2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20Dom=C3=ADnguez=20L=C3=B3pez?= <116071334+Mario-DL@users.noreply.github.com> Date: Wed, 21 Feb 2024 21:14:35 +0100 Subject: [PATCH] Fix SecureHelloworldExample (#4416) Signed-off-by: Mario Dominguez --- .../C++/DDS/SecureHelloWorldExample/HelloWorldPublisher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/C++/DDS/SecureHelloWorldExample/HelloWorldPublisher.cpp b/examples/C++/DDS/SecureHelloWorldExample/HelloWorldPublisher.cpp index d874c15480..cbe9694281 100644 --- a/examples/C++/DDS/SecureHelloWorldExample/HelloWorldPublisher.cpp +++ b/examples/C++/DDS/SecureHelloWorldExample/HelloWorldPublisher.cpp @@ -88,7 +88,7 @@ bool HelloWorldPublisher::init() DataWriterQos wqos; wqos.reliability().kind = RELIABLE_RELIABILITY_QOS; wqos.history().kind = KEEP_LAST_HISTORY_QOS; - wqos.history().depth = 30; + wqos.history().depth = 20; wqos.resource_limits().max_samples = 50; wqos.resource_limits().max_samples_per_instance = 20; wqos.reliable_writer_qos().times.heartbeatPeriod.seconds = 2;