Skip to content

Commit

Permalink
Fix doctrine-bundle recipe for prod caching pools
Browse files Browse the repository at this point in the history
  • Loading branch information
dmaicher committed Nov 27, 2019
1 parent 53faf5a commit 2e446d0
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions doctrine/doctrine-bundle/1.12/config/packages/prod/doctrine.yaml
@@ -1,3 +1,20 @@
doctrine:
orm:
auto_generate_proxy_classes: false
metadata_cache_driver:
type: pool
pool: doctrine.system_cache_pool
query_cache_driver:
type: pool
pool: doctrine.system_cache_pool
result_cache_driver:
type: pool
pool: doctrine.result_cache_pool

framework:
cache:
pools:
doctrine.result_cache_pool:
adapter: cache.app
doctrine.system_cache_pool:
adapter: cache.system

0 comments on commit 2e446d0

Please sign in to comment.