git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6841 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 15 years ago
parent 9edd38fbc5
commit 3aad50d38e

@ -2033,7 +2033,7 @@ public final class Switchboard extends serverSwitch {
// check if we can deliver entries to other peers // check if we can deliver entries to other peers
if (this.dhtDispatcher.transmissionSize() >= 10) { if (this.dhtDispatcher.transmissionSize() >= 10) {
log.logInfo("dhtTransferJob: no dequeueing from cloud to transmission: too many concurrent sessions: " + this.dhtDispatcher.transmissionSize()); log.logInfo("dhtTransferJob: no dequeueing from cloud to transmission: too many concurrent sessions: " + this.dhtDispatcher.transmissionSize());
} else if (Client.connectionCount() > 10) { } else if (Client.connectionCount() > 25) {
log.logInfo("dhtTransferJob: too many connections in httpc pool : " + Client.connectionCount()); log.logInfo("dhtTransferJob: too many connections in httpc pool : " + Client.connectionCount());
} else { } else {
boolean dequeued = this.dhtDispatcher.dequeueContainer(); boolean dequeued = this.dhtDispatcher.dequeueContainer();

Loading…
Cancel
Save