synapse-product/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 ConsentResource to gather policy consent from users 2018-05-15 15:11:59 +01:00
__main__.py Fix synapse.config.__main__ on python 3 (#4356) 2019-01-08 10:03:09 +11:00
_base.py Use yaml safe_load 2019-03-22 10:20:17 +00:00
api.py Comment out most options in the generated config. (#4863) 2019-03-19 10:06:40 +00:00
appservice.py Use yaml safe_load 2019-03-22 10:20:17 +00:00
captcha.py Comment out most options in the generated config. (#4863) 2019-03-19 10:06:40 +00:00
cas.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
consent_config.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
database.py Comment out most options in the generated config. (#4863) 2019-03-19 10:06:40 +00:00
emailconfig.py Don't crash on lack of expiry templates 2019-04-18 14:50:05 +01:00
groups.py Comment out most options in the generated config. (#4863) 2019-03-19 10:06:40 +00:00
homeserver.py Infer no_tls from presence of TLS listeners 2019-02-11 21:39:14 +00:00
jwt_config.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
key.py Add config.signing_key_path. (#4974) 2019-04-02 16:59:27 +01:00
logger.py Use yaml safe_load 2019-03-22 10:20:17 +00:00
metrics.py Comment out most options in the generated config. (#4863) 2019-03-19 10:06:40 +00:00
password_auth_providers.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
password.py Comment out most options in the generated config. (#4863) 2019-03-19 10:06:40 +00:00
push.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
ratelimiting.py Make all the rate limiting options more consistent (#5181) 2019-05-15 12:06:04 -05:00
registration.py Allow configuring a range for the account validity startup job 2019-05-28 16:52:45 +01:00
repository.py more config comment updates 2019-05-03 15:50:59 +01:00
room_directory.py Fix up config comments 2019-03-20 14:24:53 +00:00
saml2_config.py Remove periods from copyright headers (#5046) 2019-04-11 17:08:13 +01:00
server_notices_config.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
server.py Add option to disable per-room profiles 2019-05-16 14:34:28 +01:00
spam_checker.py Attempt to make default config more consistent 2019-02-19 13:54:29 +00:00
tls.py Config option for verifying federation certificates (MSC 1711) (#4967) 2019-04-25 14:22:49 +01:00
user_directory.py Fix up sample config 2019-03-20 14:35:41 +00:00
voip.py Comment out most options in the generated config. (#4863) 2019-03-19 10:06:40 +00:00
workers.py Correctly handle all command line options 2019-03-14 13:32:14 +00:00