lib/rumx/beans/timer_and_error.rb in rumx-0.1.1 vs lib/rumx/beans/timer_and_error.rb in rumx-0.1.2
- old
+ new
@@ -9,16 +9,9 @@
super
@errors = []
@max_errors = (opts[:max_errors] || 1).to_i
end
- def reset=(val)
- super
- if val
- @error_count = 0
- end
- end
-
def measure
super
rescue Exception => e
bean_synchronize do
@error_count += 1