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:
Brandon Williams 2010-12-03 20:57:03 +00:00
parent 8f51ea6593
commit 5362293ed2
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}