Skip to content

Fix set system setting failure once it cached (#22333) #22334

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

Merged
merged 1 commit into from
Jan 9, 2023

Conversation

lunny
Copy link
Member

@lunny lunny commented Jan 4, 2023

backport #22333

@lunny lunny added type/bug skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. labels Jan 4, 2023
@lunny lunny added this to the 1.18.1 milestone Jan 4, 2023
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Jan 4, 2023
Unfortunately, go-gitea#22295 introduced a bug that when set a cached system
setting, it will not affect.
This PR make sure to remove the cache key when updating a system
setting.

Fix go-gitea#22332
@lunny lunny force-pushed the lunny/fix_set_system_settting2 branch from 644a880 to fbbbaa3 Compare January 8, 2023 14:34
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Jan 9, 2023
@lunny lunny merged commit 16d7596 into go-gitea:release/v1.18 Jan 9, 2023
@lunny lunny deleted the lunny/fix_set_system_settting2 branch January 9, 2023 02:04
@zeripath zeripath changed the title Fix set system setting failure once it cached Fix set system setting failure once it cached (#22333) Jan 17, 2023
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants