You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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 a201f2f1896c1a086f3e37f86b1306d44c07f2e4)

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

---------

Co-authored-by: Gusted <postmaster@gusted.xyz>
11 months ago
..
cache.go Fix get system setting bug when enabled redis cache (#22295) 2 years ago
cache_redis.go Replace `interface{}` with `any` (#25686) 1 year ago
cache_test.go improve unit test for caching (#26185) 11 months ago
cache_twoqueue.go Upgrade go dependencies (#25819) 12 months ago
context.go Improve cache context (#23330) 1 year ago
context_test.go Improve cache context (#23330) 1 year ago