Method: Periodically::ErrorCounts.reset_all

Defined in:
lib/periodically/error_counts.rb

.reset_allObject



17
18
19
20
21
22
# File 'lib/periodically/error_counts.rb', line 17

def self.reset_all
  Periodically.redis do |conn|
    keys = conn.keys("errors:*")
    conn.del(keys)
  end
end