aboutsummaryrefslogtreecommitdiffstats
path: root/custom
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2022-05-02 15:35:45 +0200
committerGitHub <noreply@github.com>2022-05-02 21:35:45 +0800
commite2a3f3d259d230b7d1f62138e789ccdfd8f43b73 (patch)
treebfb79a507a767f82f0ecf695eea66c2777d2f09d /custom
parent509d8112432bd90f070e35e03f4cf78a416914fc (diff)
downloadgitea-e2a3f3d259d230b7d1f62138e789ccdfd8f43b73.tar.gz
gitea-e2a3f3d259d230b7d1f62138e789ccdfd8f43b73.zip
Federation: return useful statistic information for nodeinfo (#19561)
Add statistic information for total user count, active user count, issue count and comment count for `/nodeinfo`
Diffstat (limited to 'custom')
-rw-r--r--custom/conf/app.example.ini3
1 files changed, 3 insertions, 0 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini
index cbfde9c8d8..0d0d809755 100644
--- a/custom/conf/app.example.ini
+++ b/custom/conf/app.example.ini
@@ -2240,6 +2240,9 @@ PATH =
;;
;; Enable/Disable federation capabilities
; ENABLED = true
+;;
+;; Enable/Disable user statistics for nodeinfo if federation is enabled
+; SHARE_USER_STATISTICS = true
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;