diff --git a/src/org/apache/cassandra/gms/Gossiper.java b/src/org/apache/cassandra/gms/Gossiper.java
index <HASH>..<HASH> 100644
--- a/src/org/apache/cassandra/gms/Gossiper.java
+++ b/src/org/apache/cassandra/gms/Gossiper.java
@@ -470,7 +470,6 @@ public class Gossiper implements IFailureDetectionEventListener, IEndPointStateC
 

     void doStatusCheck()

     {

-        long now = System.currentTimeMillis();

         Set<EndPoint> eps = endPointStateMap_.keySet();

 

         for ( EndPoint endpoint : eps )

@@ -482,8 +481,7 @@ public class Gossiper implements IFailureDetectionEventListener, IEndPointStateC
             EndPointState epState = endPointStateMap_.get(endpoint);

             if ( epState != null )

             {

-                long l = now - epState.getUpdateTimestamp();

-                long duration = now - l;

+                long duration = System.currentTimeMillis() - epState.getUpdateTimestamp();

                 if ( !epState.isAlive() && (duration > aVeryLongTime_) )

                 {

                     evictFromMembership(endpoint);
fix duration calculation to avoid evicting dead endpoints instantly

git-svn-id: <URL>