From e55745b48b1946aaf92546674d5bd08620fdbe70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Sat, 7 Jan 2023 21:08:07 +0100 Subject: [PATCH] DX: remove default doctrine query cache pool --- config/packages/doctrine.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/config/packages/doctrine.yaml b/config/packages/doctrine.yaml index ee624d4..cbd9546 100644 --- a/config/packages/doctrine.yaml +++ b/config/packages/doctrine.yaml @@ -1,3 +1,10 @@ +framework: + cache: + pools: + doctrine.system_cache_pool: + adapter: cache.adapter.redis + + doctrine: dbal: url: '%env(resolve:DATABASE_URL)%' @@ -10,9 +17,6 @@ doctrine: auto_generate_proxy_classes: true naming_strategy: doctrine.orm.naming_strategy.default auto_mapping: true - query_cache_driver: - type: pool - pool: doctrine.system_cache_pool mappings: App: is_bundle: false