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

Fix global site settings cache #1517

Merged
merged 5 commits into from
Jan 14, 2025
Merged

Conversation

ArtOfCode-
Copy link
Member

When updating site settings, although we nominally bust the cache and it would include nil as the community ID, our cache setup automatically includes the current community ID as a hidden part of the key. This is particularly evident with global site settings, where changes to the value enacted on one community don't propagate to others because there's a separate cache for each community.

@cellio cellio requested a review from a team January 14, 2025 03:59
Copy link
Member

@Oaphi Oaphi left a comment

Choose a reason for hiding this comment

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

LGTM with the fix to include_community option (would like someone else to take a look due to that just in case).

@ArtOfCode-
Copy link
Member Author

Can't approve on my own PR but LGTM

@ArtOfCode- ArtOfCode- merged commit d077021 into develop Jan 14, 2025
7 checks passed
@ArtOfCode- ArtOfCode- deleted the art/fix-global-settings-cache branch January 14, 2025 16:33
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.

2 participants