services: forgejo: enable twoqueue cache
All checks were successful
flake / build (push) Successful in 3m6s

Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
Christoph Heiss 2024-08-24 17:12:15 +02:00
parent 3f29ed7dfb
commit 4bd87669df
Signed by: c8h4
GPG key ID: 6817E9C75C0785D7

View file

@ -60,6 +60,10 @@ in {
GC_ARGS = "--prune=1.week.ago";
HOME_PATH = "${config.services.forgejo.stateDir}/data/home";
};
cache = {
ADAPTER = "twoqueue";
HOST = ''{"size":100, "recent_ratio":0.25, "ghost_ratio":0.5}'';
};
cors = {
ENABLED = true;
ALLOW_DOMAIN = fqdn;