From 787bdc1488da476e54fb0daded061cf36ecf9010 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Mon, 10 Feb 2025 15:46:36 +0100 Subject: [feature] make account sign-up / backlog limits configurable (#3768) --- example/config.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'example') diff --git a/example/config.yaml b/example/config.yaml index 60d56bafc..b618ad7ba 100644 --- a/example/config.yaml +++ b/example/config.yaml @@ -475,6 +475,28 @@ accounts-registration-open: false # Default: true accounts-reason-required: true +# Int. Number of approved sign-ups allowed within +# 24hrs before new account registration is closed. +# +# Leaving this count at the default essentially limits +# your instance to growing by 10 accounts per day. +# +# Setting this number to 0 or less removes the limit. +# +# Default: 10 +accounts-registration-daily-limit: 10 + +# Int. Number of new account sign-ups allowed in the pending +# approval queue before new account registration is closed. +# +# This can be used to essentially "throttle" the sign-up +# queue to prevent instance admins becoming overwhelmed. +# +# Setting this number to 0 or less removes the limit. +# +# Default: 20 +accounts-registration-backlog-limit: 20 + # Bool. Allow accounts on this instance to set custom CSS for their profile pages and statuses. # Enabling this setting will allow accounts to upload custom CSS via the /user settings page, # which will then be rendered on the web view of the account's profile and statuses. -- cgit v1.3