=rem,clu #17750 Decrease default expected-response-after

This commit is contained in:
Patrik Nordwall 2015-08-19 07:34:24 +02:00
parent 1732e62d0c
commit f72b1bea9f
4 changed files with 5 additions and 5 deletions

View file

@ -146,9 +146,9 @@ akka {
monitored-by-nr-of-members = 5 monitored-by-nr-of-members = 5
# After the heartbeat request has been sent the first failure detection # After the heartbeat request has been sent the first failure detection
# will start after this period, even though no heartbeat mesage has # will start after this period, even though no heartbeat message has
# been received. # been received.
expected-response-after = 5 s expected-response-after = 1 s
} }

View file

@ -34,7 +34,7 @@ class ClusterConfigSpec extends AkkaSpec {
GossipTimeToLive should ===(2 seconds) GossipTimeToLive should ===(2 seconds)
HeartbeatInterval should ===(1 second) HeartbeatInterval should ===(1 second)
MonitoredByNrOfMembers should ===(5) MonitoredByNrOfMembers should ===(5)
HeartbeatExpectedResponseAfter should ===(5 seconds) HeartbeatExpectedResponseAfter should ===(1 seconds)
LeaderActionsInterval should ===(1 second) LeaderActionsInterval should ===(1 second)
UnreachableNodesReaperInterval should ===(1 second) UnreachableNodesReaperInterval should ===(1 second)
PublishStatsInterval should ===(Duration.Undefined) PublishStatsInterval should ===(Duration.Undefined)

View file

@ -225,7 +225,7 @@ akka {
# After the heartbeat request has been sent the first failure detection # After the heartbeat request has been sent the first failure detection
# will start after this period, even though no heartbeat mesage has # will start after this period, even though no heartbeat mesage has
# been received. # been received.
expected-response-after = 3 s expected-response-after = 1 s
} }

View file

@ -53,7 +53,7 @@ class RemoteConfigSpec extends AkkaSpec(
WatchFailureDetectorImplementationClass should ===(classOf[PhiAccrualFailureDetector].getName) WatchFailureDetectorImplementationClass should ===(classOf[PhiAccrualFailureDetector].getName)
WatchHeartBeatInterval should ===(1 seconds) WatchHeartBeatInterval should ===(1 seconds)
WatchHeartbeatExpectedResponseAfter should ===(3 seconds) WatchHeartbeatExpectedResponseAfter should ===(1 seconds)
WatchUnreachableReaperInterval should ===(1 second) WatchUnreachableReaperInterval should ===(1 second)
WatchFailureDetectorConfig.getDouble("threshold") should ===(10.0 +- 0.0001) WatchFailureDetectorConfig.getDouble("threshold") should ===(10.0 +- 0.0001)
WatchFailureDetectorConfig.getInt("max-sample-size") should ===(200) WatchFailureDetectorConfig.getInt("max-sample-size") should ===(200)