You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering whether there was a specific reason to include kernel.debug in the cache pool namespace seed. Imho setting/unsetting the debug flag should not have an effect on the workings of a program.
#18544 added the kernel.name, kernel.root_dir, kernel.environment and kernel.debug to the cache pool namespace.
Consider this scenario:
A user has a website that displays values from a database which are cached. A worker (console command) updates values in the database and busts the corresponding cache keys. In order to find a problem in the worker, the user wants to log some more details and restarts the workers without the --no-debug flag. Now suddenly, the cache isn't busted anymore and no information gets updated on the UI.
I would therefore suggest removing kernel.debug from the cache pool seed.
The text was updated successfully, but these errors were encountered:
I would therefore suggest removing kernel.name from the cache pool seed.
I guess you mean kernel.debug. Please open PR (against on 3.1?) so that we can discuss that there. Looks fine to me. Please also open one against DoctrineCacheBundle since it has the same issue since doctrine/DoctrineCacheBundle#105
… namespace seed (Sander Toonen)
This PR was merged into the 3.1 branch.
Discussion
----------
[FrameworkBundle] Removed kernel.debug from the cache pool namespace seed
| Q | A
| ------------- | ---
| Branch? | 3.1
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #20780
| License | MIT
| Doc PR |
Commits
-------
8e1dac5 [FrameworkBundle] Removed the kernel.debug parameter from the cache pool namespace seed
I was wondering whether there was a specific reason to include
kernel.debug
in the cache pool namespace seed. Imho setting/unsetting the debug flag should not have an effect on the workings of a program.#18544 added the
kernel.name
,kernel.root_dir
,kernel.environment
andkernel.debug
to the cache pool namespace.Consider this scenario:
A user has a website that displays values from a database which are cached. A worker (console command) updates values in the database and busts the corresponding cache keys. In order to find a problem in the worker, the user wants to log some more details and restarts the workers without the
--no-debug
flag. Now suddenly, the cache isn't busted anymore and no information gets updated on the UI.I would therefore suggest removing
kernel.debug
from the cache pool seed.The text was updated successfully, but these errors were encountered: