]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
improve error message for 'too much time spent'
authorbert hubert <bert.hubert@netherlabs.nl>
Thu, 22 Jan 2015 16:00:49 +0000 (17:00 +0100)
committerbert hubert <bert.hubert@netherlabs.nl>
Thu, 22 Jan 2015 16:00:49 +0000 (17:00 +0100)
pdns/syncres.cc

index 3c73a95b8c03c2fd193cbf2f8c7a52fe2ca16979..e688531535dc565505250d1477edf715429eca35 100644 (file)
@@ -941,7 +941,7 @@ int SyncRes::doResolveAt(set<string, CIStringCompare> nameservers, string auth,
             }
             
            if(s_maxtotusec && d_totUsec > s_maxtotusec) 
-             throw ImmediateServFailException("Too much time waiting for "+qname+"|"+qtype.getName()+", timeouts: "+boost::lexical_cast<string>(d_timeouts) +", throttles: "+boost::lexical_cast<string>(d_throttledqueries) + ", "+lexical_cast<string>(d_totUsec/1000)+"msec");
+             throw ImmediateServFailException("Too much time waiting for "+qname+"|"+qtype.getName()+", timeouts: "+boost::lexical_cast<string>(d_timeouts) +", throttles: "+boost::lexical_cast<string>(d_throttledqueries) + ", queries: "+lexical_cast<string>(d_outqueries)+", "+lexical_cast<string>(d_totUsec/1000)+"msec");
 
            if(d_pdl && d_pdl->preoutquery(*remoteIP, d_requestor, qname, qtype, lwr.d_result, resolveret)) {
              LOG(prefix<<qname<<": query handled by Lua"<<endl);