mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-21 00:00:13 +02:00
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5937 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
parent
bad7ce9286
commit
4338dcf936
|
@ -741,10 +741,10 @@ public class yacySeed implements Cloneable {
|
||||||
// generate a seed for the local peer
|
// generate a seed for the local peer
|
||||||
// this is the birthplace of a seed, that then will start to travel to other peers
|
// this is the birthplace of a seed, that then will start to travel to other peers
|
||||||
|
|
||||||
final byte[] hash = bestGap(db);
|
final String hashs = new String(bestGap(db));
|
||||||
yacyCore.log.logInfo("init: OWN SEED = " + hash);
|
yacyCore.log.logInfo("init: OWN SEED = " + hashs);
|
||||||
|
|
||||||
final yacySeed newSeed = new yacySeed(new String(hash));
|
final yacySeed newSeed = new yacySeed(hashs);
|
||||||
|
|
||||||
// now calculate other information about the host
|
// now calculate other information about the host
|
||||||
newSeed.dna.put(yacySeed.NAME, (name) == null ? "anonymous" : name);
|
newSeed.dna.put(yacySeed.NAME, (name) == null ? "anonymous" : name);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user