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

[wpmlbridge-300] Cache cluster indices. #51

Merged
merged 1 commit into from
Jul 10, 2024
Merged

Conversation

decodekult
Copy link
Collaborator

  • Avoid multiple checks on index name existance on multiple processes.

#48

- Avoid multiple checks on index name existance on multiple processes.

#48
@decodekult decodekult linked an issue Jul 4, 2024 that may be closed by this pull request
* @param string $indexName
*/
private function saveIndexInClusterCache( $indexName ) {
if ( null === self::$clusterIndices ) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

self::getClusterIndicesCache() - shouldn't it "load cache" and add it there? I ask out of curiosity

Copy link

@jamalbou jamalbou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@decodekult decodekult merged commit 80b50b1 into master Jul 10, 2024
2 checks passed
@decodekult decodekult deleted the wpmlbridge-300 branch July 10, 2024 12:42
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.

Performance impact on "save_post" actions
3 participants