Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

Membership entities are double cached in MembershipManager #445

Closed
pfrenssen opened this issue Dec 11, 2018 · 0 comments
Closed

Membership entities are double cached in MembershipManager #445

pfrenssen opened this issue Dec 11, 2018 · 0 comments

Comments

@pfrenssen
Copy link
Contributor

MembershipManager::getMemberships() caches the fully loaded OgMembership entities, but this is pointless since they are already cached in EntityStorageBase::loadMultiple().

Let's save some precious memory by only caching the entity IDs instead of the full entities.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant