Skip to content

Commit

Permalink
use multicast in container (#49)
Browse files Browse the repository at this point in the history
fixes Participant limit hitting at around 13 nodes, due to unicast discovery #48 (hopefully)
  • Loading branch information
marc-hanheide authored Mar 18, 2024
1 parent d514f42 commit ee333a1
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions .devcontainer/setup-router.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,9 @@ read -r -d '' CYCLONEDDS_URI << EOM
<CycloneDDS xmlns="https://cdds.io/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://cdds.io/config https://raw.githubusercontent.com/eclipse-cyclonedds/cyclonedds/master/etc/cyclonedds.xsd">
<Domain id="0">
<General>
<AllowMulticast>false</AllowMulticast>
<MaxMessageSize>65500B</MaxMessageSize>
<FragmentSize>4000B</FragmentSize>
<Transport>udp</Transport>
<AllowMulticast>default</AllowMulticast>
</General>
<Discovery>
<Peers>
<Peer address="localhost"/>
<Peer address="`hostname`"/>
<!--<Peer address="[IPV6-address]"/>-->
</Peers>
<ParticipantIndex>auto</ParticipantIndex>
</Discovery>
<Internal>
<Watermarks>
<WhcHigh>500kB</WhcHigh>
</Watermarks>
</Internal>
<Tracing>
<Verbosity>info</Verbosity>
<OutputFile>stdout</OutputFile>
Expand Down

0 comments on commit ee333a1

Please sign in to comment.