|
|
@ -578,7 +578,7 @@ public class Balancer {
|
|
|
|
Map.Entry<String, byte[]> hosthash;
|
|
|
|
Map.Entry<String, byte[]> hosthash;
|
|
|
|
while (k.hasNext()) {
|
|
|
|
while (k.hasNext()) {
|
|
|
|
hosthash = k.next();
|
|
|
|
hosthash = k.next();
|
|
|
|
if (failoverCandidates.get(hosthash) > 2000) break; // thats too long; we want a second chance for this!
|
|
|
|
//if (failoverCandidates.get(hosthash) > 2000) break; // thats too long; we want a second chance for this!
|
|
|
|
besthost = hosthash.getKey();
|
|
|
|
besthost = hosthash.getKey();
|
|
|
|
besturlhash = hosthash.getValue();
|
|
|
|
besturlhash = hosthash.getValue();
|
|
|
|
removeHashFromDomainStacks(besthost, besturlhash);
|
|
|
|
removeHashFromDomainStacks(besthost, besturlhash);
|
|
|
|