]> granicus.if.org Git - pdns/commitdiff
improve error message for backend overload
authorbert hubert <bert.hubert@netherlabs.nl>
Wed, 19 Aug 2015 14:40:48 +0000 (16:40 +0200)
committerbert hubert <bert.hubert@netherlabs.nl>
Wed, 19 Aug 2015 14:40:48 +0000 (16:40 +0200)
pdns/distributor.hh

index bbc59a88023f0d59527536a38b685af7cf65822a..f431aabe568f1f8e17fdbb485e042a09cae5dc6a 100644 (file)
@@ -276,7 +276,7 @@ template<class Answer, class Question, class Backend>int MultiThreadDistributor<
     d_overloaded= d_queued > overloadQueueLength;
 
   if(d_queued > maxQueueLength) {
-    L<<Logger::Error<< d_queued <<" questions waiting for database attention. Limit is "<<::arg().asNum("max-queue-length")<<", respawning"<<endl;
+    L<<Logger::Error<< d_queued <<" questions waiting for database/backend attention. Limit is "<<::arg().asNum("max-queue-length")<<", respawning"<<endl;
     // this will leak the entire contents of all pipes, nothing will be freed. Respawn when this happens!
     throw DistributorFatal();
   }