Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

smaller dhtDispatcher.cloudSize @Orbiter: we talked about this times ago - please revert if I'm wrong

sixcooler47ae7e322e0b
diff --git a/source/net/yacy/search/Switchboard.java b/source/net/yacy/search/Switchboard.java
index bbc3aba32..6e405c738 100644
--- a/source/net/yacy/search/Switchboard.java
+++ b/source/net/yacy/search/Switchboard.java
@@ -3026,7 +3026,7 @@ public final class Switchboard extends serverSwitch
boolean hasDoneSomething = false;
final long kbytesUp = ConnectionInfo.getActiveUpbytes() / 1024;
// accumulate RWIs to transmission cloud
- if ( this.dhtDispatcher.cloudSize() > this.peers.scheme.verticalPartitions() * 2 ) {
+ if ( this.dhtDispatcher.cloudSize() > this.peers.scheme.verticalPartitions() ) {
this.log.logInfo("dhtTransferJob: no selection, too many entries in transmission cloud: "
+ this.dhtDispatcher.cloudSize());
} else if ( MemoryControl.available() < 1024 * 1024 * 25 ) {