public-cof: add some tuning for lychee
This commit is contained in:
parent
42cd2d7b79
commit
793e4d2aee
1 changed files with 7 additions and 0 deletions
|
@ -7,4 +7,11 @@
|
||||||
website = "photos.ens.wtf";
|
website = "photos.ens.wtf";
|
||||||
settings.APP_URL = "https://${config.services.lychee.website}";
|
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;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue