*) code cleanup

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2338 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
theli 19 years ago
parent 4e9f02c8ec
commit 57fe5cc671

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

Loading…
Cancel
Save