0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-30 11:23:56 -05:00
forgejo/modules/cache
Earl Warren 494ee56de2
improve unit test for caching (#26185)
- Configure `setting.CacheService.TTL` which will force the code to go
trough the caching mechanism.
- Remove the TODO and uncomment the test code.

(cherry picked from commit a201f2f189)

Refs: https://codeberg.org/forgejo/forgejo/pulls/974

---------

Co-authored-by: Gusted <postmaster@gusted.xyz>
2023-07-27 22:24:40 +02:00
..
cache.go Fix get system setting bug when enabled redis cache (#22295) 2023-01-02 00:06:52 +08:00
cache_redis.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
cache_test.go improve unit test for caching (#26185) 2023-07-27 22:24:40 +02:00
cache_twoqueue.go Upgrade go dependencies (#25819) 2023-07-14 11:00:31 +08:00
context.go Improve cache context (#23330) 2023-03-08 11:57:05 -06:00
context_test.go Improve cache context (#23330) 2023-03-08 11:57:05 -06:00