Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[FrameworkBundle] Don't seed cache pool namespaces with kernel debug #20780

Copy link
Copy link
Closed
@Sander-Toonen

Description

@Sander-Toonen
Issue body actions

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.