fix(forgejo): lower cache.last_commit TTL to limit size of the cache

We really don't want to cache them for a year, which is the default.

Yes, computing them may be expensive, but not worth a multi-gigabyte
redis database that takes minutes to load into RAM on service (re)start.
This commit is contained in:
emily 2024-12-18 16:57:05 +01:00
parent 4e87e35bb5
commit e930a17b0b
Signed by: emilylange
GPG key ID: 0AD773CE46FD0F87

View file

@ -73,6 +73,10 @@ in
ITEM_TTL = "72h"; # increased from default 16h
};
"cache.last_commit" = {
ITEM_TTL = "24h"; # from default 8760h (1 year)
};
ui = {
SHOW_USER_EMAIL = false;
};