From 76b96337e2dec708c53028ffb2bf235e7a44f6c9 Mon Sep 17 00:00:00 2001 From: lotus Date: Mon, 22 Jun 2009 11:45:21 +0000 Subject: [PATCH] just some chatty code git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6118 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/yacy/dht/Dispatcher.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/de/anomic/yacy/dht/Dispatcher.java b/source/de/anomic/yacy/dht/Dispatcher.java index db088144b..9ae739a07 100755 --- a/source/de/anomic/yacy/dht/Dispatcher.java +++ b/source/de/anomic/yacy/dht/Dispatcher.java @@ -277,6 +277,14 @@ public class Dispatcher { true); this.log.logInfo("enqueueContainers: selected " + targets.size() + " targets for primary target key " + new String(primaryTarget) + "/" + vertical + " with " + containers[vertical].size() + " index containers."); if (entry == null) entry = transmission.newChunk(primaryTarget, targets, lastContainer.row()); + + /*/ lookup own target + int sc = 1; + for (yacySeed seed : targets) { + if(seed == seeds.mySeed()) + this.log.logInfo("enqueueContainers: myself-target at position " + sc); + sc++; + } */ // fill the entry with the containers for (ReferenceContainer c: containers[vertical]) {