From a55bd6d2bd7b11aed653f4614836caed4103bec3 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Fri, 31 Jan 2025 19:27:18 +0100 Subject: [feature] Add `instance-stats-randomize` config option (#3718) * [feature] Add `instance-stats-randomize` config option * don't use cache (overkill) --- docs/configuration/instance.md | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'docs/configuration/instance.md') diff --git a/docs/configuration/instance.md b/docs/configuration/instance.md index cc793b7fe..fdaf324cf 100644 --- a/docs/configuration/instance.md +++ b/docs/configuration/instance.md @@ -138,4 +138,15 @@ instance-subscriptions-process-from: "23:00" # Examples: ["24h", "72h", "12h"] # Default: "24h" (once per day). instance-subscriptions-process-every: "24h" + +# Bool. Set this to true to randomize stats served at +# the /api/v1|v2/instance and /nodeinfo/2.0 endpoints. +# +# This can be useful when you don't want bots to obtain +# reliable information about the amount of users and +# statuses on your instance. +# +# Options: [true, false] +# Default: false +instance-stats-randomize: false ``` -- cgit v1.2.3