From 69cad1595255e83672c47a6740e69235af7d540b Mon Sep 17 00:00:00 2001 From: bert hubert Date: Thu, 22 Jan 2015 17:00:49 +0100 Subject: [PATCH] improve error message for 'too much time spent' --- pdns/syncres.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/syncres.cc b/pdns/syncres.cc index 3c73a95b8..e68853153 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<