public-cof: add some tuning for lychee

This commit is contained in:
Raito Bezarius 2023-07-19 00:22:03 +02:00
parent 42cd2d7b79
commit 793e4d2aee

View file

@ -7,4 +7,11 @@
website = "photos.ens.wtf";
settings.APP_URL = "https://${config.services.lychee.website}";
};
services.phpfpm.pools."photos.ens.wtf".settings = {
pm = "dynamic";
"pm.max_children" = 10;
"pm.start_servers" = 3;
"pm.min_spare_servers" = 1;
"pm.max_spare_servers" = 3;
};
}