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

Add option to turn off second level cache #109

Merged
merged 2 commits into from
Jul 22, 2024

Conversation

jankonas
Copy link
Contributor

Contrary to other caches, second level cache cannot be turn off by passing Doctrine\Common\Cache\VoidCache to it's configuration.

This PR adds option for disabling second level cache by passing false to it's configuration:

nettrine.orm.cache:
  secondLevelCache: false

Copy link

codecov bot commented Jul 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (master@b4803d4). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #109   +/-   ##
=========================================
  Coverage          ?   88.95%           
=========================================
  Files             ?       11           
  Lines             ?      344           
  Branches          ?        0           
=========================================
  Hits              ?      306           
  Misses            ?       38           
  Partials          ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@f3l1x f3l1x merged commit c8b43bb into contributte:master Jul 22, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants