mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-29 05:29:08 +00:00
As of Hazelcast 3.7, the bootstrap is pretty slow by default due to the networking discovery. This commit disables both TCP/IP and multicast discoveries.
25 lines
596 B
XML
25 lines
596 B
XML
<hazelcast xsi:schemaLocation="http://www.hazelcast.com/schema/config hazelcast-config-3.7.xsd"
|
|
xmlns="http://www.hazelcast.com/schema/config"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
|
|
<map name="countries">
|
|
<time-to-live-seconds>600</time-to-live-seconds>
|
|
<max-size>200</max-size>
|
|
</map>
|
|
|
|
<cache name="countries">
|
|
<eviction size="200"/>
|
|
|
|
<statistics-enabled>true</statistics-enabled>
|
|
<management-enabled>true</management-enabled>
|
|
</cache>
|
|
|
|
<network>
|
|
<join>
|
|
<tcp-ip enabled="false"/>
|
|
<multicast enabled="false"/>
|
|
</join>
|
|
</network>
|
|
|
|
</hazelcast>
|