-
-
Save mikemix/8df70c3b961781b7f3a8ff32c0d0ec81 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# config/packages/doctrine.yaml | |
doctrine: | |
# … | |
orm: | |
# … | |
second_level_cache: | |
enabled: true | |
regions: | |
write_rare: | |
# expire automatically after 10 days | |
lifetime: 864000 | |
# let's use app's main cache pool | |
# (in my case it's using Redis) | |
cache_driver: { type: service, id: cache.app } | |
append_only: | |
# expire automatically after 100 days | |
lifetime: 8640000 | |
# let's use app's main cache pool | |
# (in my case it's using Redis) | |
cache_driver: { type: service, id: cache.app } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment