fix for bug in deletion of old seeds

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7547 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 14 years ago
parent ac13343f12
commit 6dfaf6fef7

@ -1588,7 +1588,7 @@ public final class Switchboard extends serverSwitch {
seed = e.next();
if (seed != null) {
//list is sorted -> break when peers are too young to delete
if (seed.isLastSeenTimeout(deleteOldSeedsTime)) break;
if (!seed.isLastSeenTimeout(deleteOldSeedsTime)) break;
deleteQueue.add(seed.hash);
}
}
@ -1601,7 +1601,7 @@ public final class Switchboard extends serverSwitch {
seed = e.next();
if (seed != null) {
//list is sorted -> break when peers are too young to delete
if (seed.isLastSeenTimeout(deleteOldSeedsTime)) break;
if (!seed.isLastSeenTimeout(deleteOldSeedsTime)) break;
deleteQueue.add(seed.hash);
}
}

Loading…
Cancel
Save