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

Remove duplicate collector calls #435

Merged
merged 1 commit into from
Jul 22, 2021
Merged

Conversation

Jean-Beru
Copy link
Contributor

When a sub-request is done (eg: with controller Twig function), the collector is called twice.

This PR will avoid additional database queries in this case.

@greg0ire
Copy link
Member

Maybe this should target 3.2.x since it's not a bugfix? 🤔

Copy link
Member

@SenseException SenseException left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's neither a feature.

@greg0ire greg0ire merged commit 44b29c1 into doctrine:3.1.x Jul 22, 2021
@greg0ire
Copy link
Member

greg0ire commented Jul 22, 2021

Oh well… let's merge. Thanks @Jean-Beru !

@greg0ire greg0ire added this to the 3.1.2 milestone Jul 22, 2021
@Jean-Beru Jean-Beru deleted the patch-2 branch July 22, 2021 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants