mirror of https://github.com/apache/cassandra
Reduce FatClient timeout to RING_DELAY / 2. Patch by brandonwilliams, reviewed by jbellis for CASSANDRA-1730.
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1041998 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8f51ea6593
commit
5362293ed2
|
|
@ -145,8 +145,8 @@ public class Gossiper implements IFailureDetectionEventListener
|
|||
{
|
||||
// 3 days
|
||||
aVeryLongTime_ = 259200 * 1000;
|
||||
// 1 hour
|
||||
FatClientTimeout_ = 60 * 60 * 1000;
|
||||
// half of RING_DELAY, to ensure justRemovedEndpoints has enough leeway to prevent re-gossip
|
||||
FatClientTimeout_ = (long)(StorageService.RING_DELAY / 2);
|
||||
/* register with the Failure Detector for receiving Failure detector events */
|
||||
FailureDetector.instance.registerFailureDetectionEventListener(this);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue