forked-synapse/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 Fix flake8 (#4519) 2019-01-30 10:53:17 +00:00
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 Run the AS senders as background processes (#4189) 2018-12-04 10:53:49 +01:00
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 Add metrics for number of outgoing EDUs, by type (#4695) 2019-02-20 14:13:14 +00:00
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 Merge branch 'develop' of github.com:matrix-org/synapse into erikj/admin_contact 2018-08-24 17:00:37 +01:00
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 Fix develop because I broke it :( (#3535) 2018-07-14 09:51:00 +10:00
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 Remove redundant PreserveLoggingContext 2019-03-04 18:31:18 +00:00
python_dependencies.py Merge branch 'master' into develop 2019-05-03 19:25:01 +01:00
secrets.py Port over enough to get some sytests running on Python 3 (#3668) 2018-08-20 23:54:49 +10:00
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 declare a ReadReceipt class 2019-03-13 17:20:55 +00:00
visibility.py Implement soft fail 2019-03-06 16:22:16 +00:00