Skip to content

Commit 213f996

Browse files
committed
Refactor participant QoS configuration to use shared memory and adjust database cleanup settings
1 parent ee93240 commit 213f996

File tree

1 file changed

+14
-31
lines changed

1 file changed

+14
-31
lines changed

test/xml/Test.xml

Lines changed: 14 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -13,37 +13,20 @@ This code contains trade secrets of Real-Time Innovations, Inc.
1313
<!-- Qos Library -->
1414
<qos_library name="QosLibrary">
1515
<qos_profile name="DefaultProfile" is_default_qos="true">
16-
<participant_qos>
17-
<transport_builtin>
18-
<mask>UDPV4</mask>
19-
</transport_builtin>
20-
21-
<!-- Restrict traffic to local interface only -->
22-
<property>
23-
<value>
24-
<element>
25-
<name>dds.transport.UDPv4.builtin.parent.allow_interfaces_list</name>
26-
<value>127.0.0.1</value>
27-
</element>
28-
</value>
29-
</property>
30-
31-
<!-- Turn on monitoring -->
32-
<!-- Begin Monitoring
33-
<property>
34-
<value>
35-
<element>
36-
<name>rti.monitor.library</name>
37-
<value>rtimonitoring</value>
38-
</element>
39-
<element>
40-
<name>rti.monitor.create_function_ptr</name>
41-
<value>$(NDDS_MONITOR)</value>
42-
</element>
43-
</value>
44-
</property>
45-
End Monitoring -->
46-
</participant_qos>
16+
<participant_qos>
17+
<discovery>
18+
<initial_peers>
19+
<element>shmem://</element>
20+
</initial_peers>
21+
<multicast_receive_addresses/>
22+
</discovery>
23+
<database>
24+
<shutdown_cleanup_period>
25+
<sec>0</sec>
26+
<nanosec>100000000</nanosec>
27+
</shutdown_cleanup_period>
28+
</database>
29+
</participant_qos>
4730
<datawriter_qos>
4831
<reliability>
4932
<kind> RELIABLE_RELIABILITY_QOS </kind>

0 commit comments

Comments
 (0)