Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions rmw_connext_shared_cpp/src/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,12 @@ create_node(
}
}

// In order to reduce the time to cleanup a participant (Node), we use the advice from
// https://community.rti.com/static/documentation/connext-dds/5.3.1/doc/api/connext_dds/api_cpp/structDDS__DomainParticipantQos.html
// and reduce the shutdown_cleanup_period to 50 milliseconds.
participant_qos.database.shutdown_cleanup_period.sec = 0;
participant_qos.database.shutdown_cleanup_period.nanosec = 50000000;

{
participant = dpf_->create_participant(
static_cast<DDS::DomainId_t>(context->actual_domain_id),
Expand Down