Skip to content

Commit

Permalink
Change cache parameters from apc to apcu
Browse files Browse the repository at this point in the history
  • Loading branch information
cocolabssas committed Sep 28, 2020
1 parent f073b2d commit 76f9313
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 16 deletions.
6 changes: 0 additions & 6 deletions app/config/config_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@ imports:
- { resource: config.yml }
- { resource: "@CocoricoCoreBundle/Resources/config/config_dev.yml"}

#doctrine:
# orm:
# metadata_cache_driver: apc
# query_cache_driver: apc
# result_cache_driver: apc

framework:
router:
resource: "%kernel.root_dir%/config/routing_dev.yml"
Expand Down
6 changes: 3 additions & 3 deletions app/config/config_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ imports:

doctrine:
orm:
metadata_cache_driver: apc
query_cache_driver: apc
result_cache_driver: apc
metadata_cache_driver: apcu
query_cache_driver: apcu
result_cache_driver: apcu

monolog:
handlers:
Expand Down
4 changes: 0 additions & 4 deletions app/config/config_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,5 @@ doctrine:
# orm:
# auto_generate_proxy_classes: true
# auto_mapping: true
# orm:
# metadata_cache_driver: apc
# query_cache_driver: apc
# result_cache_driver: apc


3 changes: 0 additions & 3 deletions src/Cocorico/CoreBundle/Resources/config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@ doctrine:
auto_generate_proxy_classes: "%kernel.debug%"
entity_managers:
default:
# metadata_cache_driver: apc
# result_cache_driver: apc
# query_cache_driver: apc
auto_mapping: true
mappings:
gedmo_tree:
Expand Down

0 comments on commit 76f9313

Please sign in to comment.