@ -560,7 +560,7 @@ public final class plasmaSwitchboard extends serverAbstractSwitch implements ser
);
indexDistribution.setCounts(150,1,3,10000);
deployThread("20_dhtdistribution","DHT Distribution","selection, transfer and deletion of index entries that are not searched on your peer, but on others",null,
log.logWarning("found not enough ("+hc+") peers for distribution");
if(hc0<peerCount){
log.logWarning("found not enough ("+hc0+") peers for distribution");
return-1;// failed
}
@ -248,7 +248,8 @@ public final class plasmaWordIndexDistribution {
Stringerror;
StringpeerNames="";
longstart;
for(inti=0;i<peerCount;i++){
inthc1=0;
for(inti=0;i<hc0;i++){
if(closed){
log.logSevere("Index distribution interrupted by close, nothing deleted locally.");
return-1;// interrupted
@ -259,17 +260,17 @@ public final class plasmaWordIndexDistribution {
log.logInfo("Index transfer of "+indexCount+" words ["+indexEntities[0].wordHash()+" .. "+indexEntities[indexEntities.length-1].wordHash()+"] to peer "+seeds[i].getName()+":"+seeds[i].hash+" in "+((System.currentTimeMillis()-start)/1000)