|
|
@ -324,13 +324,13 @@ public class yacyCore {
|
|
|
|
// update last seed date
|
|
|
|
// update last seed date
|
|
|
|
if (newSeed.getLastSeenUTC() >= this.seed.getLastSeenUTC()) {
|
|
|
|
if (newSeed.getLastSeenUTC() >= this.seed.getLastSeenUTC()) {
|
|
|
|
log.logFine("publish: recently handshaked " + this.seed.get(yacySeed.PEERTYPE, yacySeed.PEERTYPE_SENIOR) +
|
|
|
|
log.logFine("publish: recently handshaked " + this.seed.get(yacySeed.PEERTYPE, yacySeed.PEERTYPE_SENIOR) +
|
|
|
|
" peer '" + this.seed.getName() + "' at " + this.seed.getPublicAddress() + "with old LastSeen: '" +
|
|
|
|
" peer '" + this.seed.getName() + "' at " + this.seed.getPublicAddress() + " with old LastSeen: '" +
|
|
|
|
serverDate.shortSecondTime(new Date(newSeed.getLastSeenUTC())) + "'");
|
|
|
|
serverDate.shortSecondTime(new Date(newSeed.getLastSeenUTC())) + "'");
|
|
|
|
newSeed.setLastSeenUTC();
|
|
|
|
newSeed.setLastSeenUTC();
|
|
|
|
peerActions.peerArrival(newSeed, true);
|
|
|
|
peerActions.peerArrival(newSeed, true);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
log.logFine("publish: recently handshaked " + this.seed.get(yacySeed.PEERTYPE, yacySeed.PEERTYPE_SENIOR) +
|
|
|
|
log.logFine("publish: recently handshaked " + this.seed.get(yacySeed.PEERTYPE, yacySeed.PEERTYPE_SENIOR) +
|
|
|
|
" peer '" + this.seed.getName() + "' at " + this.seed.getPublicAddress() + "with old LastSeen: '" +
|
|
|
|
" peer '" + this.seed.getName() + "' at " + this.seed.getPublicAddress() + " with old LastSeen: '" +
|
|
|
|
serverDate.shortSecondTime(new Date(newSeed.getLastSeenUTC())) + "', this is more recent: '" +
|
|
|
|
serverDate.shortSecondTime(new Date(newSeed.getLastSeenUTC())) + "', this is more recent: '" +
|
|
|
|
serverDate.shortSecondTime(new Date(this.seed.getLastSeenUTC())) + "'");
|
|
|
|
serverDate.shortSecondTime(new Date(this.seed.getLastSeenUTC())) + "'");
|
|
|
|
this.seed.setLastSeenUTC();
|
|
|
|
this.seed.setLastSeenUTC();
|
|
|
|