Hi,
I am trying the example "rticonnextdds-examples/examples/connext_dds/using_qos_profiles", and it looks DomainParticipant shutdown ( or release resources) needs about 3 seconds. I did a test with only DomainParticipant as below:
Hi,
I am trying the example "rticonnextdds-examples/examples/connext_dds/using_qos_profiles", and it looks DomainParticipant shutdown ( or release resources) needs about 3 seconds. I did a test with only DomainParticipant as below:
Hello,
You can adjust the shutdown time via the shutdown_cleanup_period QoS.
For the using_qos_profiles example, what you can do is add the following to the <participant_qos> section of the my_custom_qos_profiles.xml QoS file.
<!-- THIS IS A TEST -->
<database>
<shutdown_cleanup_period>
<sec>0</sec>
<nanosec>50000000</nanosec>
</shutdown_cleanup_period>
</database>
Make sure it is in a <profile> that you specify (e.g. make the "transient_local_profile" the default profile.
<qos_profile name="transient_local_profile" is_default_qos ="true">
Hi garyb,
Thanks. It works. Another question, how can it work with default QoS? I tried below code, it did not work
Hi,
Here you're copying the Database policy, not taking a reference (and then modifying the copy):
Works now, thanks!