MatrixSynapse/synapse/config
Brendan Abolivier 52839886d6
Allow configuring a range for the account validity startup job
When enabling the account validity feature, Synapse will look at startup for registered account without an expiration date, and will set one equals to 'now + validity_period' for them. On large servers, it can mean that a large number of users will have the same expiration date, which means that they will all be sent a renewal email at the same time, which isn't ideal.
In order to mitigate this, this PR allows server admins to define a 'max_delta' so that the expiration date is a random value in the [now + validity_period ; now + validity_period + max_delta] range. This allows renewal emails to be progressively sent over a configured period instead of being sent all in one big batch.
2019-05-28 16:52:45 +01:00
..
__init__.py
__main__.py
_base.py
api.py
appservice.py
captcha.py
cas.py
consent_config.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
database.py
emailconfig.py
groups.py
homeserver.py
jwt_config.py
key.py
logger.py
metrics.py
password.py
password_auth_providers.py
push.py
ratelimiting.py
registration.py Allow configuring a range for the account validity startup job 2019-05-28 16:52:45 +01:00
repository.py
room_directory.py
saml2_config.py
server.py Add option to disable per-room profiles 2019-05-16 14:34:28 +01:00
server_notices_config.py
spam_checker.py
tls.py
user_directory.py
voip.py
workers.py