MatrixSynapse/synapse
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
..
_scripts
api Drop support for v2_alpha API prefix (#5190) 2019-05-15 17:37:46 +01:00
app Merge pull request #5037 from matrix-org/erikj/limit_inflight_dns 2019-05-08 17:11:03 +01:00
appservice
config Allow configuring a range for the account validity startup job 2019-05-28 16:52:45 +01:00
crypto remove extraneous exception logging 2019-04-25 22:02:03 +01:00
events Allow client event serialization to be async 2019-05-14 11:58:01 +01:00
federation Make all the rate limiting options more consistent (#5181) 2019-05-15 12:06:04 -05:00
groups Add functions to delete a group 2019-04-03 16:29:52 +01:00
handlers Add option to disable per-room profiles 2019-05-16 14:34:28 +01:00
http Add ability to blacklist ip ranges for federation traffic (#5043) 2019-05-13 19:05:06 +01:00
metrics
module_api Allow password providers to bind emails (#4947) 2019-03-28 15:48:07 +00:00
push Add a default .m.rule.tombstone push rule (#4867) 2019-04-29 15:40:31 -06:00
replication Replace SlavedKeyStore with a shim 2019-04-08 23:59:07 +01:00
res/templates Send out emails with links to extend an account's validity period 2019-04-17 14:42:20 +01:00
rest Merge pull request #5187 from matrix-org/dbkr/only_check_threepid_not_in_use_if_actually_registering 2019-05-16 10:58:09 +01:00
server_notices
state Fix grammar and document get_current_users_in_room (#4998) 2019-04-03 14:32:20 +01:00
static Avoid redundant URL encoding (#4555) 2019-04-04 12:05:56 +01:00
storage Allow configuring a range for the account validity startup job 2019-05-28 16:52:45 +01:00
streams
util Make all the rate limiting options more consistent (#5181) 2019-05-15 12:06:04 -05:00
__init__.py 0.99.4 2019-05-15 13:58:45 +01:00
event_auth.py Collect room-version variations into one place (#4969) 2019-04-01 10:24:38 +01:00
notifier.py
python_dependencies.py Merge branch 'master' into develop 2019-05-03 19:25:01 +01:00
secrets.py
server.py Allow client event serialization to be async 2019-05-14 11:58:01 +01:00
server.pyi Fix CI after new release of isort 2019-05-13 15:19:44 +01:00
types.py
visibility.py