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

[BUGS-6248] wp_cache_flush_runtime should only clear local cache #413

Merged
merged 5 commits into from
May 11, 2023

Conversation

pwtyler
Copy link
Member

@pwtyler pwtyler commented May 11, 2023

Follows #405
Replaces #412. Cherry-picked over in order to fix & run unit tests.

Introduced in #405.
wp_cache_flush_runtime should not clear redis cache as well, just local runtime cache values. By passing false to flush method, only runtime caches are flushed.

Props @spacedmonkey for the fix.

@pwtyler pwtyler marked this pull request as ready for review May 11, 2023 05:55
@pwtyler pwtyler requested review from a team as code owners May 11, 2023 05:55
@pwtyler pwtyler merged commit 81faa40 into develop May 11, 2023
@pwtyler pwtyler deleted the BUGS-6248 branch May 11, 2023 15:44
pwtyler added a commit that referenced this pull request May 11, 2023
Co-authored-by: Jonny Harris <jon@spacedmonkey.co.uk>
@pwtyler pwtyler mentioned this pull request May 11, 2023
pwtyler added a commit that referenced this pull request May 11, 2023
Co-authored-by: Jonny Harris <jon@spacedmonkey.co.uk>
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