Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Update issue 26

Incorrectly set a default totaltime of 1
  • Loading branch information...
commit a212b20ab16954bcb6db797c9eca5b66ac9d0b5e 1 parent c5c6e7d
rip@devco.net authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  ruby-pdns/lib/pdns/resolvers.rb
2  ruby-pdns/lib/pdns/resolvers.rb
@@ -25,7 +25,7 @@ def self.add_resolver(name, options = {}, &block)
25 25
26 26 # only set this if there aren't already stats, else we zero the counts after
27 27 # each periodic record reload
28   - @@resolverstats[name] = {:usagecount => 0, :totaltime => 1} unless @@resolverstats[name]
  28 + @@resolverstats[name] = {:usagecount => 0, :totaltime => 0} unless @@resolverstats[name]
29 29 end
30 30
31 31 # Clears out all the resolvers that are supported, this should be called before loading new ones from disk

0 comments on commit a212b20

Please sign in to comment.
Something went wrong with that request. Please try again.