m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/pl/edu/mimuw/cloudatlas/agent
diff options
context:
space:
mode:
authorMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2020-01-12 16:12:08 +0100
committerMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2020-01-12 16:12:08 +0100
commita91ffb770782450b0dd23f0510cd80ec531f7339 (patch)
tree3b4faa13e6ece1524699462d61b81d71c5ca8e85 /src/main/java/pl/edu/mimuw/cloudatlas/agent
parent6710ea855694dfc6486604d06f046a90f69f1373 (diff)
Add log
Diffstat (limited to 'src/main/java/pl/edu/mimuw/cloudatlas/agent')
-rw-r--r--src/main/java/pl/edu/mimuw/cloudatlas/agent/modules/GossipGirl.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/pl/edu/mimuw/cloudatlas/agent/modules/GossipGirl.java b/src/main/java/pl/edu/mimuw/cloudatlas/agent/modules/GossipGirl.java
index ec34c7f..08d8580 100644
--- a/src/main/java/pl/edu/mimuw/cloudatlas/agent/modules/GossipGirl.java
+++ b/src/main/java/pl/edu/mimuw/cloudatlas/agent/modules/GossipGirl.java
@@ -204,6 +204,7 @@ public class GossipGirl extends Module {
while (iterator.hasNext()) {
GossipGirlState state = iterator.next().getValue();
if (state.lastAction.isLowerThan(message.getAgeThreshold()).getValue()) {
+ System.out.println("INFO: GossipGirl removing old gossip " + Long.toString(state.gossipId));
iterator.remove();
}
}