<!--
  Default stack using IP multicasting. It is similar to the "udp"
  stack in stacks.xml, but doesn't use streaming state transfer and flushing
  author: Bela Ban
-->

<config xmlns="urn:org:jgroups"
		xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
		xsi:schemaLocation="urn:org:jgroups http://www.jgroups.org/schema/jgroups.xsd"
		version="5.0.0">
	<UDP
			bind_addr="127.0.0.1"
			mcast_port="${jgroups.udp.mcast_port:45588}"
			ip_ttl="4"
			tos="8"
			ucast_recv_buf_size="5M"
			ucast_send_buf_size="5M"
			mcast_recv_buf_size="5M"
			mcast_send_buf_size="5M"
			max_bundle_size="64K"
			enable_diagnostics="true"
			thread_naming_pattern="cl"

			thread_pool.min_threads="0"
			thread_pool.max_threads="20"
			thread_pool.keep_alive_time="30000"/>

	<PING/>
	<MERGE3 max_interval="30000"
			min_interval="10000"/>
	<FD_SOCK/>
	<FD_ALL/>
	<VERIFY_SUSPECT timeout="1500"/>
	<BARRIER/>
	<pbcast.NAKACK2 xmit_interval="500"
					xmit_table_num_rows="100"
					xmit_table_msgs_per_row="2000"
					xmit_table_max_compaction_time="30000"
					use_mcast_xmit="false"
					discard_delivered_msgs="true"/>
	<UNICAST3 xmit_interval="500"
			  xmit_table_num_rows="100"
			  xmit_table_msgs_per_row="2000"
			  xmit_table_max_compaction_time="60000"
			  conn_expiry_timeout="0"/>
	<pbcast.STABLE desired_avg_gossip="50000"
				   max_bytes="4M"/>
	<pbcast.GMS print_local_addr="false" join_timeout="2000"/>
	<UFC max_credits="2M"
		 min_threshold="0.4"/>
	<MFC max_credits="2M"
		 min_threshold="0.4"/>
	<FRAG2 frag_size="60K"/>
	<RSVP resend_interval="2000" timeout="10000"/>
	<pbcast.STATE_TRANSFER/>
</config>
