summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2025-01-31 19:27:18 +0100
committerLibravatar GitHub <noreply@github.com>2025-01-31 19:27:18 +0100
commita55bd6d2bd7b11aed653f4614836caed4103bec3 (patch)
tree40ddcac7b495307d3c08c482455f88e3598952b6 /example
parent[chore] Add "object" uri to outgoing Accept + Reject messages (#3717) (diff)
downloadgotosocial-a55bd6d2bd7b11aed653f4614836caed4103bec3.tar.xz
[feature] Add `instance-stats-randomize` config option (#3718)
* [feature] Add `instance-stats-randomize` config option * don't use cache (overkill)
Diffstat (limited to 'example')
-rw-r--r--example/config.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/example/config.yaml b/example/config.yaml
index 164eea7b2..10d7799c6 100644
--- a/example/config.yaml
+++ b/example/config.yaml
@@ -425,6 +425,17 @@ instance-subscriptions-process-from: "23:00"
# 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
+
###########################
##### ACCOUNTS CONFIG #####
###########################