-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Do not wire Traceable Event Dispatcher in CLI #32422
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
Comments
I actually got used to the fact that in dev environment lots of memory is used 🙈 When removing the There is a data collector for events: https://github.com/symfony/symfony/blob/4.4/src/Symfony/Component/HttpKernel/DataCollector/EventDataCollector.php |
How would we do this? This is compiled in the container, right? |
@nicolas-grekas Yes, I know it's compiled and it's gonna be hard :/ I did it for monolog and that was quite easy. But the wiring of the Dispatcher is more complex... |
Thank you for this issue. |
Nope |
Thank you for this issue. |
I don't have time to work on it, and it seems we can live with it. So let's close it for now |
The TraceableEventDispatcher stores some informations for the
profiler. But in CLI it does not make sens, since the tooling does not
exist. I have already fixed such issue for monolog in #30339. I think we
should do the same for the TraceableEventDispatcher.
(I opened this discussion to keep a trace of a discussion in #32421)
The text was updated successfully, but these errors were encountered: