Skip to content

Commit 8e87d62

Browse files
committed
Merge branch '6.3' into 6.4
* 6.3: [DependencyInjection] Update kernel.reset explanation
2 parents 6b56470 + 2fd432f commit 8e87d62

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

reference/dic_tags.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -694,10 +694,10 @@ kernel.reset
694694

695695
**Purpose**: Clean up services between requests
696696

697-
During the ``kernel.terminate`` event, Symfony looks for any service tagged
698-
with the ``kernel.reset`` tag to reinitialize their state. This is done by
699-
calling to the method whose name is configured in the ``method`` argument of
700-
the tag.
697+
In all main requests (not :ref:`sub-requests <http-kernel-sub-requests>`) except
698+
the first one, Symfony looks for any service tagged with the ``kernel.reset`` tag
699+
to reinitialize their state. This is done by calling to the method whose name is
700+
configured in the ``method`` argument of the tag.
701701

702702
This is mostly useful when running your projects in application servers that
703703
reuse the Symfony application between requests to improve performance. This tag

0 commit comments

Comments
 (0)