Closed
Description
Symfony version(s) affected
6.0.8
Description
Since this following commit, the option --no-reset does not work anymore. There is a ResetServicesListener that is in charge of this, so maybe we could move the function Worker::resetReceiverConnections() inside this listener when WorkerStoppedEvent is fired.
How to reproduce
Try to use bin/console messenger:consume with "--no-reset" option with the InMemoryTransport.
Possible Solution
There is a ResetServicesListener that is in charge of this, so maybe move the function Worker::resetReceiverConnections() inside this listener when WorkerStoppedEvent is fired.
Additional Context
No response