Skip to content

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

Merged
pwtyler merged 5 commits intodevelopfrom
BUGS-6248
May 11, 2023
Merged

[BUGS-6248] wp_cache_flush_runtime should only clear local cache#413
pwtyler merged 5 commits intodevelopfrom
BUGS-6248

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
@pwtyler pwtyler mentioned this pull request May 11, 2023
pwtyler added a commit that referenced this pull request May 11, 2023
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

Comments