Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

*) code cleanup

theli57fe5cc671f6
diff --git a/source/de/anomic/yacy/yacyCore.java b/source/de/anomic/yacy/yacyCore.java
index 8eedc1abe..eba308846 100644
--- a/source/de/anomic/yacy/yacyCore.java
+++ b/source/de/anomic/yacy/yacyCore.java
@@ -570,28 +570,6 @@ public class yacyCore {
return newSeeds;
}
-// // wait
-// try {
-// if (i == 0) Thread.currentThread().sleep(2000); // after the first time wait some seconds
-// Thread.currentThread().sleep(1000 + 500 * v.size()); // wait a while
-// } catch (InterruptedException e) {}
-//
-// // check all threads
-// for (int j = 0; j < v.size(); j++) {
-// t = (publishThread) v.elementAt(j);
-// added = t.added;
-// if (!(t.isAlive())) {
-// //log.logDebug("PEER " + seeds[j].get(yacySeed.NAME, "") + " request terminated"); // debug
-// if (added >= 0) {
-// // success! we have published our peer to a senior peer
-// // update latest news from the other peer
-// //log.logInfo("publish: handshaked " + t.seed.get(yacySeed.PEERTYPE, yacySeed.PEERTYPE_SENIOR) + " peer '" + t.seed.getName() + "' at " + t.seed.getAddress());
-// peerActions.saveMySeed();
-// return added;
-// }
-// }
-// }
-
// if we have an address, we do nothing
if (seedDB.mySeed.isProper() == null && !force) { return 0; }