]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rec: Clarify that the server load should be >= to the pondered avg 7634/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 29 Mar 2019 16:20:52 +0000 (17:20 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 29 Mar 2019 16:20:52 +0000 (17:20 +0100)
pdns/pdns_recursor.cc

index 704cf68eecfedac92a4c1d46037c44b8c5347725..037d4af237a809c68b63f3af42e7b55c6a090179 100644 (file)
@@ -2398,7 +2398,7 @@ static unsigned int selectWorker(unsigned int hash)
   // cerr<<"total load is "<<currentLoad<<", number of workers is "<<g_numWorkerThreads<<", target load is "<<targetLoad<<endl;
 
   unsigned int worker = hash % g_numWorkerThreads;
-  /* at least one server has to be below the average load */
+  /* at least one server has to be at or below the average load */
   if (load[worker] > targetLoad) {
     ++g_stats.rebalancedQueries;
     do {