We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85f0a49 commit 0bab0e6Copy full SHA for 0bab0e6
messenger.rst
@@ -707,7 +707,8 @@ you can decide to not take care of services that may leak memory.
707
708
On the other hand, workers usually sequentially process messages in long-running CLI processes, which don't
709
finish after processing a single message. That's why you must be careful about service
710
-states to prevent information and/or memory leakage.
+states to prevent information and/or memory leakage as Symfony will inject the same instance of a
711
+service, preserving the internal state of the service between messages.
712
713
However, certain Symfony services, such as the Monolog
714
:ref:`fingers crossed handler <logging-handler-fingers_crossed>`, leak by design.
0 commit comments