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

Use wp_cache_flush_group() when available #2916

Merged
merged 1 commit into from
Aug 3, 2022

Conversation

tillkruss
Copy link
Contributor

Description of the Change

Unsetting the group key in $cache is a shot in the dark, let's use WordPress 6.1 new wp_cache_flush_group() when available

Follow-up to #2915.

Changelog Entry

Added - Use wp_cache_flush_group() when available

Credits

Props @tillkruss

Checklist:

  • I agree to follow this project's Code of Conduct.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests pass.

@cmcandrew
Copy link

If this could be treated with some urgency, we have been unable to upgrade beyond ElasticPress 3.6.6

Since 4.x with Object Cache Pro plugin exhibits run-away Memory Usage whilst indexing

@felipeelia felipeelia added this to the 4.3.0 milestone Aug 3, 2022
@felipeelia
Copy link
Member

Thanks for the PR @tillkruss! I'll merge it now.

For future reference, I'll leave here links to:

@felipeelia felipeelia merged commit 06ed894 into 10up:develop Aug 3, 2022
@tillkruss
Copy link
Contributor Author

@felipeelia Sure thing, will do! 👍

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.

3 participants