charkost/prosopite

false positives in multithreaded envs?

Closed this issue · 2 comments

Not sure, seem that because of storing state in

    def tc
      Thread.current
    end

for each thread the ActiveSupport::Notifications.subscribe 'sql.active_record' is run, creating a new subscriber, and causing false positives because each message is duplicated by the number of Puma threads.

Thanks for reporting! Please check with the latest version. Should be ok now.

Yes, It's fixed, that was fast!