Skip to content

Commit

Permalink
report how many milliseconds we actually waited so trace-regex output…
Browse files Browse the repository at this point in the history
… is a bit less confusing
  • Loading branch information
ahupowerdns committed Sep 9, 2014
1 parent 0cfb6f2 commit 863ca18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdns/syncres.cc
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,7 @@ int SyncRes::doResolveAt(set<string, CIStringCompare> nameservers, string auth,

if(resolveret != 1) {
if(resolveret==0) {
LOG(prefix<<qname<<": timeout resolving "<< (doTCP ? "over TCP" : "")<<endl);
LOG(prefix<<qname<<": timeout resolving after "<<lwr.d_usec/1000.0<<"msec "<< (doTCP ? "over TCP" : "")<<endl);
d_timeouts++;
s_outgoingtimeouts++;
}
Expand Down

0 comments on commit 863ca18

Please sign in to comment.