Skip to content

Commit

Permalink
BB-20335: Optimize queries number (#29234)
Browse files Browse the repository at this point in the history
- Optimize number of connections with server_version Doctrine parameter
- Optimize OAuth Client usages in the OAuth2ServerBundle
- Optimize config usages in the WYSIWYGFieldTwigListener
  • Loading branch information
yurio committed Mar 5, 2021
1 parent e7d54ae commit 674f39a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/parameters.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ parameters:
database_name: '%env(ORO_DB_NAME)%'
database_user: '%env(ORO_DB_USER)%'
database_password: '%env(ORO_DB_PASSWORD)%'
database_server_version: '%env(ORO_DB_VERSION)%'
database_driver_options: []

mailer_transport: '%env(ORO_MAILER_DRIVER)%'
Expand Down Expand Up @@ -51,6 +52,7 @@ parameters:
env(ORO_DB_NAME): bap_standard
env(ORO_DB_USER): root
env(ORO_DB_PASSWORD): null
env(ORO_DB_VERSION): null

env(ORO_MAILER_DRIVER): sendmail
env(ORO_MAILER_HOST): 127.0.0.1
Expand Down
2 changes: 2 additions & 0 deletions config/parameters_test.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ parameters:
database_name: '%env(ORO_DB_NAME)%'
database_user: '%env(ORO_DB_USER)%'
database_password: '%env(ORO_DB_PASSWORD)%'
database_server_version: '%env(ORO_DB_VERSION)%'
database_driver_options: []

mailer_transport: '%env(ORO_MAILER_DRIVER)%'
Expand Down Expand Up @@ -47,6 +48,7 @@ parameters:
env(ORO_DB_NAME): bap_dev_test
env(ORO_DB_USER): root
env(ORO_DB_PASSWORD): null
env(ORO_DB_VERSION): null

env(ORO_MAILER_DRIVER): smtp
env(ORO_MAILER_HOST): 127.0.0.1
Expand Down

0 comments on commit 674f39a

Please sign in to comment.