From 3b3e32b86b7d04c6758b87b8ea2fa2513c056e98 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89ric=20Gaspar?=
<46165813+ericgaspar@users.noreply.github.com>
Date: Sat, 24 Dec 2022 19:09:36 +0100
Subject: [PATCH] Update config_panel.toml.example
---
config_panel.toml.example | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/config_panel.toml.example b/config_panel.toml.example
index 915044d..42a15a9 100644
--- a/config_panel.toml.example
+++ b/config_panel.toml.example
@@ -3,23 +3,28 @@ version = "1.0"
[main]
name = "Selfoss configuration"
- [main.php_fpm_config]
+ [[main.php_fpm_config]
name = "PHP-FPM configuration"
[main.php_fpm_config.fpm_footprint]
- ask = "Memory footprint of the service?"
- choices = ["low", "medium", "high", "specific"]
+ ask = "Memory footprint"
+ type = "select"
+ choices.low = "Low, <= 20Mb per pool"
+ choices.medium = "Medium, between 20Mb and 40Mb per pool"
+ choices.high = "High, > 40Mb per pool"
+ choices.specific = "Use specific value"
default = "low"
- help = "low <= 20Mb per pool. medium between 20Mb and 40Mb per pool. high > 40Mb per pool.
Use specific to set a value with the following option."
- [main.php_fpm_config.free_footprint]
+ [main.php_fpm_config.fpm_free_footprint]
+ visible = "fpm_footprint == 'specific'"
ask = "Memory footprint of the service?"
type = "number"
default = "0"
help = "Free field to specify exactly the footprint in Mb if you don't want to use one of the three previous values."
[main.php_fpm_config.fpm_usage]
- ask = "Expected usage of the service?"
+ ask = "Expected usage"
+ type = "select"
choices = ["low", "medium", "high"]
default = "low"
help = "low: Personal usage, behind the SSO. No RAM footprint when not used, but the impact on the processor can be high if many users are using the service.
medium: Low usage, few people or/and publicly accessible. Low RAM footprint, medium processor footprint when used.
high: High usage, frequently visited website. High RAM footprint, but lower on processor usage and quickly responding."