mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
fix for latest commit
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5813 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
parent
c8624903c6
commit
b15b059c0d
|
@ -107,7 +107,7 @@ public final class hello {
|
|||
}
|
||||
|
||||
int urls = -1;
|
||||
if (sb.clusterhashes != null) remoteSeed.setAlternativeAddress(sb.clusterhashes.get(remoteSeed.hash));
|
||||
if (sb.clusterhashes != null) remoteSeed.setAlternativeAddress(sb.clusterhashes.get(remoteSeed.hash.getBytes()));
|
||||
|
||||
// if the remote client has reported its own IP address and the client supports
|
||||
// the port forwarding feature (if client version >= 0.383) then we try to
|
||||
|
|
|
@ -1740,7 +1740,7 @@ public final class plasmaSwitchboard extends serverAbstractSwitch<IndexingStack.
|
|||
final yacySeed initiatorPeer = queueEntry.initiatorPeer();
|
||||
if ((processCase == plasmaSwitchboardConstants.PROCESSCASE_6_GLOBAL_CRAWLING) && (initiatorPeer != null)) {
|
||||
log.logInfo("Sending crawl receipt for '" + queueEntry.url().toNormalform(false, true) + "' to " + initiatorPeer.getName());
|
||||
if (clusterhashes != null) initiatorPeer.setAlternativeAddress(clusterhashes.get(initiatorPeer.hash));
|
||||
if (clusterhashes != null) initiatorPeer.setAlternativeAddress(clusterhashes.get(initiatorPeer.hash.getBytes()));
|
||||
// start a thread for receipt sending to avoid a blocking here
|
||||
new Thread(new receiptSending(initiatorPeer, newEntry), "sending receipt to " + initiatorPeer.hash).start();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user