pekko/akka-cluster/src/main/resources/reference.conf

41 lines
1.2 KiB
Text
Raw Normal View History

######################################
# Akka Cluster Reference Config File #
######################################
2012-02-21 14:39:08 -06:00
# This is the reference config file that contains all the default settings.
# Make your edits/overrides in your application.conf.
akka {
cluster {
# node to join - the full URI defined by a string on the form of "akka://system@hostname:port"
# leave as empty string if the node should be a singleton cluster
node-to-join = ""
# should the 'leader' in the cluster be allowed to automatically mark unreachable nodes as DOWN?
auto-down = on
# the number of gossip daemon actors
nr-of-gossip-daemons = 4
nr-of-deputy-nodes = 3
gossip {
initialDelay = 5s
frequency = 1s
}
# accrual failure detection config
failure-detector {
# defines the failure detector threshold
# A low threshold is prone to generate many wrong suspicions but ensures
# a quick detection in the event of a real crash. Conversely, a high
# threshold generates fewer mistakes but needs more time to detect
# actual crashes
threshold = 8
max-sample-size = 1000
}
}
}