mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-22 09:13:10 +00:00
a1c30740bb
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. |
||
---|---|---|
.. | ||
cache.go | ||
cache_redis.go | ||
cache_test.go | ||
cache_twoqueue.go |