Description
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.