Skip to content

[Cache] fix optimizing Psr6Cache for AdapterInterface pools #29243

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

nicolas-grekas
Copy link
Member

Q A
Branch? 3.4
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -.

As described by @Tobion in https://github.com/symfony/symfony/pull/29236/files#r234324045:

The problem I have experienced is that in dev mode the cache is decorated with a TraceableCache. This means it loses this optimization and introduces #28918 (comment) again

@nicolas-grekas nicolas-grekas force-pushed the cache-fix-psr6-psr16-adapter branch from 48f2efc to b8100a9 Compare November 16, 2018 21:18
@nicolas-grekas nicolas-grekas merged commit b8100a9 into symfony:3.4 Nov 20, 2018
nicolas-grekas added a commit that referenced this pull request Nov 20, 2018
…s (nicolas-grekas)

This PR was merged into the 3.4 branch.

Discussion
----------

[Cache] fix optimizing Psr6Cache for AdapterInterface pools

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -.

As described by @Tobion in https://github.com/symfony/symfony/pull/29236/files#r234324045:
> The problem I have experienced is that in dev mode the cache is decorated with a TraceableCache. This means it loses this optimization and introduces #28918 (comment) again

Commits
-------

b8100a9 [Cache] fix optimizing Psr6Cache for AdapterInterface pools
@nicolas-grekas nicolas-grekas deleted the cache-fix-psr6-psr16-adapter branch November 20, 2018 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants