lib/new_relic/stats.rb in newrelic_rpm-3.1.2 vs lib/new_relic/stats.rb in newrelic_rpm-3.2.0.beta1
- old
+ new
@@ -45,9 +45,10 @@
end
def sum_attributes(other)
update_totals(other)
stack_min_max_from(other)
+ self.call_count = [self.call_count, other.call_count].max
update_boundaries(other)
end
def stack_min_max_from(other)
self.min_call_time += other.min_call_time