You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SetUserSetting(1, "key", "value") // sets the setting to "value" and adds it to the cacheSetUserSetting(1, "key", "updated value") // does nothing because the cache already has the value and the update is skipped
Setting a value should always invalidate/update the cache and the cache should not prevent the update.
Regression of #22295
gitea/models/user/setting.go
Lines 151 to 162 in b383652
The following code does not work:
Setting a value should always invalidate/update the cache and the cache should not prevent the update.
@lunny
The text was updated successfully, but these errors were encountered: