8000 bug #40138 [FrameworkBundle] fix registering "annotations.cache" on t… · symfony/symfony@c75687f · GitHub
[go: up one dir, main page]

Skip to content

Commit c75687f

Browse files
bug #40138 [FrameworkBundle] fix registering "annotations.cache" on the "container.hot_path" (nicolas-grekas)
This PR was merged into the 4.4 branch. Discussion ---------- [FrameworkBundle] fix registering "annotations.cache" on the "container.hot_path" | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Because `annotations.cache` is registered in a quite special way (see #25696), `ResolveHotPathPass` cannot propagate the `container.hot_path` tag to it. Let's add the tag explicitly since this service is always on the hot path anyway. Spotted with Blackfire.io as usual. Commits ------- e196c1e [FrameworkBundle] fix registering "annotations.cache" on the "container.hot_path"
2 parents 5dbc7db + e196c1e commit c75687f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/Resources/config/annotations.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
<argument type="service" id="cache.annotations" />
4949
</service>
5050
</argument>
51+
<tag name="container.hot_path" />
5152
</service>
5253

5354
<service id="annotation_reader" alias="annotations.reader" />

0 commit comments

Comments
 (0)
0