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:
parent
4e87e35bb5
commit
e930a17b0b
|
@ -73,6 +73,10 @@ in
|
||||||
ITEM_TTL = "72h"; # increased from default 16h
|
ITEM_TTL = "72h"; # increased from default 16h
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"cache.last_commit" = {
|
||||||
|
ITEM_TTL = "24h"; # from default 8760h (1 year)
|
||||||
|
};
|
||||||
|
|
||||||
ui = {
|
ui = {
|
||||||
SHOW_USER_EMAIL = false;
|
SHOW_USER_EMAIL = false;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue