Skip to content

Ignore attribute introspection

Alex Kalderimis requested to merge ajk-ignore-pg-introspection into master

What does this MR do and why?

This adds attribute introspection queries to the ignorable list for the query limiting transaction.

These queries are issued by ActiveRecord when performing serialization of models to JSON. They only need to be issued once per session, so they can be considered amortized and ignorable.

This was discovered as a problem through the use of --order random RSpec testing.

This is a test-env only change; there are no user-visible changes.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports