0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-11 23:30:59 +01:00
gitea/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>
2023-07-27 22:24:40 +02:00
..
cache_redis.go
cache_test.go improve unit test for caching (#26185) 2023-07-27 22:24:40 +02:00
cache_twoqueue.go
cache.go
context_test.go
context.go