Skip to content
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

Reset application after each consummed message #170

Closed
pvgnd opened this issue Dec 31, 2019 · 1 comment
Closed

Reset application after each consummed message #170

pvgnd opened this issue Dec 31, 2019 · 1 comment

Comments

@pvgnd
Copy link
Contributor

pvgnd commented Dec 31, 2019

As of Symfony 4.4, we can reset application ($this->getApplication()->reset();) in a Symfony Command.

This is usefull to reset Monolog (when finger crossed is used for example), and free resources while waiting for messages.

@odolbeau
Copy link
Member

Hi @pvgnd
It an excellent idea & @lyrixx suggested it too swarrot/swarrot#193

Don't hesitate to propose an implementation. :)

pvgnd added a commit to pvgnd/SwarrotBundle that referenced this issue Jan 4, 2020
pvgnd added a commit to pvgnd/SwarrotBundle that referenced this issue Jan 25, 2020
pvgnd added a commit to pvgnd/SwarrotBundle that referenced this issue Jan 25, 2020
pvgnd added a commit to pvgnd/SwarrotBundle that referenced this issue Jan 25, 2020
pvgnd added a commit to pvgnd/SwarrotBundle that referenced this issue Jan 26, 2020
pvgnd added a commit to pvgnd/SwarrotBundle that referenced this issue Jan 26, 2020
pvgnd added a commit to pvgnd/SwarrotBundle that referenced this issue Jan 26, 2020
pvgnd added a commit to pvgnd/SwarrotBundle that referenced this issue Jan 26, 2020
pvgnd added a commit to pvgnd/SwarrotBundle that referenced this issue Jan 26, 2020
odolbeau pushed a commit that referenced this issue Jan 29, 2020
Add ServicesResetterProcessorConfigurator (closes #170)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants