Add user account deletion delay setting

This commit is contained in:
Anton Khorev 2023-10-25 14:09:03 +03:00
parent f08fb4f30f
commit dfe299eff9
2 changed files with 3 additions and 0 deletions

View file

@ -79,6 +79,7 @@ Config.setup do |config|
required(:max_number_of_relation_members).filled(:int?)
required(:max_issues_count).filled(:int?)
required(:api_timeout).filled(:int?)
required(:user_account_deletion_delay).maybe(:number?)
required(:imagery_blacklist).maybe(:array?)
required(:status).filled(:str?, :included_in? => ALLOWED_STATUS)
required(:avatar_storage).filled(:str?)

View file

@ -53,6 +53,8 @@ api_timeout: 300
web_timeout: 30
# Periods (in hours) which are allowed for user blocks
user_block_periods: [0, 1, 3, 6, 12, 24, 48, 96, 168, 336, 731, 4383, 8766, 87660]
# Account deletion cooldown period (in hours) since last changeset close; null to disable, 0 to make sure there aren't any open changesets when the deletion happens
user_account_deletion_delay: null
# Rate limit for message sending
max_messages_per_hour: 60
# Rate limit for friending