From: bert hubert Date: Thu, 22 Jan 2015 16:00:49 +0000 (+0100) Subject: improve error message for 'too much time spent' X-Git-Tag: rec-3.7.0-rc2~51 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=69cad1595255e83672c47a6740e69235af7d540b;p=thirdparty%2Fpdns.git improve error message for 'too much time spent' --- diff --git a/pdns/syncres.cc b/pdns/syncres.cc index 3c73a95b8c..e688531535 100644 --- a/pdns/syncres.cc +++ b/pdns/syncres.cc @@ -941,7 +941,7 @@ int SyncRes::doResolveAt(set nameservers, string auth, } if(s_maxtotusec && d_totUsec > s_maxtotusec) - throw ImmediateServFailException("Too much time waiting for "+qname+"|"+qtype.getName()+", timeouts: "+boost::lexical_cast(d_timeouts) +", throttles: "+boost::lexical_cast(d_throttledqueries) + ", "+lexical_cast(d_totUsec/1000)+"msec"); + throw ImmediateServFailException("Too much time waiting for "+qname+"|"+qtype.getName()+", timeouts: "+boost::lexical_cast(d_timeouts) +", throttles: "+boost::lexical_cast(d_throttledqueries) + ", queries: "+lexical_cast(d_outqueries)+", "+lexical_cast(d_totUsec/1000)+"msec"); if(d_pdl && d_pdl->preoutquery(*remoteIP, d_requestor, qname, qtype, lwr.d_result, resolveret)) { LOG(prefix<