Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable ActiveRecord instrumentation #68

Merged
merged 3 commits into from
Sep 14, 2023

Conversation

djmb
Copy link
Collaborator

@djmb djmb commented Sep 14, 2023

We want the cache queries to be fast and instrumentation can slow things
down. Additionally you might not want the SolidCache queries showing up
in your logs.

Instrumentation is enabled by default but can we disabled with:

  config.cache_store = [ :solid_cache_store, active_record_instrumentation: false ]

@djmb djmb force-pushed the disable-activerecord-instrumentation branch from 3388d45 to 363f812 Compare September 14, 2023 08:15
We want the cache queries to be fast and instrumentation can slow things
down. Additionally you might not want the SolidCache queries showing up
in your logs.

Instrumentation is enabled by default but can we disabled with:

```ruby
  config.cache_store = [ :solid_cache_store, active_record_instrumentation: false ]
```
@djmb djmb force-pushed the disable-activerecord-instrumentation branch from 363f812 to 51429b4 Compare September 14, 2023 08:20
@djmb djmb merged commit a19a436 into main Sep 14, 2023
3 checks passed
@djmb djmb deleted the disable-activerecord-instrumentation branch September 14, 2023 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant