From 06ef85d64104b63750ee5e7f454c3c49036b1eed Mon Sep 17 00:00:00 2001 From: Miguel Company Date: Wed, 11 Oct 2023 10:49:52 +0200 Subject: [PATCH] Refs #19435. Call RTPSDomain::set_filewatch_thread_config inside DomainParticipantFactory::create_participant Signed-off-by: Miguel Company --- src/cpp/fastdds/domain/DomainParticipantFactory.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cpp/fastdds/domain/DomainParticipantFactory.cpp b/src/cpp/fastdds/domain/DomainParticipantFactory.cpp index 7e837332dd9..da4989e16a4 100644 --- a/src/cpp/fastdds/domain/DomainParticipantFactory.cpp +++ b/src/cpp/fastdds/domain/DomainParticipantFactory.cpp @@ -157,6 +157,8 @@ DomainParticipant* DomainParticipantFactory::create_participant( { load_profiles(); + RTPSDomain::set_filewatch_thread_config(factory_qos_.file_watch_threads(), factory_qos_.file_watch_threads()); + const DomainParticipantQos& pqos = (&qos == &PARTICIPANT_QOS_DEFAULT) ? default_participant_qos_ : qos; DomainParticipant* dom_part = new DomainParticipant(mask);