The following system properties affect the cluster behavior:
- socket.connectTimeout: the maximum number of
milliseconds to wait for the master to respond (default: 1000). A
timeout of zero means infinite (block until established or an error
occurs).
- socket.receiveTimeout: the maximum number of
milliseconds to wait for a reply from the master or slave (SO_TIMEOUT;
default: 60000). A timeout of zero means infinite.
- com.day.crx.core.cluster.DisableReverseHostLookup:
disable the reverse lookup from the master to the slave when connecting
(default: false). If not set, the master checks if the slave is
reachable using InetAddress.isReachable(connectTimeout).
- The maximum number of seconds to wait for a master can be changed by setting the system property "com.day.crx.core.cluster.WaitForMasterRetries" (default: 60). This is the number of seconds to wait for a master to appear (one second delay after each try, so the default is wait at most 60 seconds before giving up).
|