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

Clear data loaders on kernel.reset #27

Merged
merged 1 commit into from
Apr 7, 2021
Merged

Conversation

ruudk
Copy link
Contributor

@ruudk ruudk commented Mar 26, 2021

When having a long running Symfony application it's important to clear the data loader caches when kernel.reset is called by Symfony. Otherwise they'll keep growing forever.

When having a long running Symfony application it's important to clear the data loader caches when `kernel.reset` is called by Symfony. Otherwise they'll keep growing forever.
@mcg-web mcg-web merged commit 37c56f0 into overblog:master Apr 7, 2021
@mcg-web
Copy link
Member

mcg-web commented Apr 7, 2021

Thank you @ruudk !

@ruudk ruudk deleted the patch-2 branch April 7, 2021 08:17
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

Successfully merging this pull request may close these issues.

2 participants