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

Fix reports are not cached per site #12148

Merged
merged 1 commit into from Oct 4, 2017
Merged

Fix reports are not cached per site #12148

merged 1 commit into from Oct 4, 2017

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Oct 4, 2017

Because of the Reports.addReport and Reports.filterReports events, reports may be different per website. However, currently, we cache only plugin aware but we need to include idSite(s).

I switched the cache from eager cache to lazy cache as there could be hundreds of sites and putting all this into eager cache would make that cache slow where it actually is supposed to be super fast.

Because of the Reports.addReport and Reports.filterReports events, reports may be different per website. However, currently, we cache only plugin aware. For now I try to detect idSite based on that parameter
@tsteur tsteur added Bug For errors / faults / flaws / inconsistencies etc. Needs Review PRs that need a code review labels Oct 4, 2017
@tsteur tsteur added this to the 3.2.0 milestone Oct 4, 2017
@tsteur
Copy link
Member Author

tsteur commented Oct 4, 2017

Merging now as patch needed. Let me know if any questions or feedback

@tsteur tsteur merged commit 9076064 into 3.x-dev Oct 4, 2017
@tsteur tsteur deleted the reportprovidercache branch October 4, 2017 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Needs Review PRs that need a code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant