1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-16 07:04:25 +00:00
gitea/modules/cache
Lunny Xiao a1c30740bb
Fix get system setting bug when enabled redis cache (#22295)
Fix #22281

In #21621 , `Get[V]` and `Set[V]` has been introduced, so that cache
value will be `*Setting`. For memory cache it's OK. But for redis cache,
it can only store `string` for the current implementation. This PR
revert some of changes of that and just store or return a `string` for
system setting.
2023-01-02 00:06:52 +08:00
..
cache_redis.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
cache_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
cache_twoqueue.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
cache.go Fix get system setting bug when enabled redis cache (#22295) 2023-01-02 00:06:52 +08:00