services: forgejo: enable twoqueue
cache
All checks were successful
flake / build (push) Successful in 3m6s
All checks were successful
flake / build (push) Successful in 3m6s
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
parent
3f29ed7dfb
commit
4bd87669df
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue