-
Notifications
You must be signed in to change notification settings - Fork 2
/
reference.conf
20 lines (17 loc) · 977 Bytes
/
reference.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
akka {
locality {
# The timeout to use when attempting to retrive shard states from the cluster sharding system.
# For large clusters this value may need to be increased
retrieve-shard-state-timeout = 5 seconds
# The margin to keep before requesting an update from the cluster sharding system when a rebalance is detected.
# This is necessary because shards need some time to be rebalanced (in case of normal rebalancing, or in case
# of a topology change).
# If you use a [[akka.cluster.DowningProvider]], you should take into account the `downRemovalMargin` since shards
# will only be re-allocated after this margin has elapsed.
shard-state-update-margin = 10 seconds
# The interval between periodic polling of the shard state
# The shard state is queried periodically in order to get aware of newly created shards that have not caused
# a rebalancing yet to occur yet.
shard-state-polling-interval = 15 seconds
}
}