|
@ -15,6 +15,7 @@ module Semantic |
|
|
identifier = pathname(event.payload[:identifier]) |
|
|
identifier = pathname(event.payload[:identifier]) |
|
|
partial_savings = @partials[event.transaction_id] ||= {} |
|
|
partial_savings = @partials[event.transaction_id] ||= {} |
|
|
partial_saving = partial_savings[identifier] ||= { |
|
|
partial_saving = partial_savings[identifier] ||= { |
|
|
|
|
|
# TODO: might be smarter: origins=[{caller:, count:}] |
|
|
count: 0, |
|
|
count: 0, |
|
|
first_origin: Rails.backtrace_cleaner.clean(caller)[1] |
|
|
first_origin: Rails.backtrace_cleaner.clean(caller)[1] |
|
|
} |
|
|
} |
|
|