Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Allow configuring a range for the account validity startup job #5276

Merged
merged 8 commits into from
May 31, 2019

Commits on May 28, 2019

  1. 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.
    babolivier committed May 28, 2019
    Configuration menu
    Copy the full SHA
    5283988 View commit details
    Browse the repository at this point in the history
  2. Config and changelog

    babolivier committed May 28, 2019
    Configuration menu
    Copy the full SHA
    4aba561 View commit details
    Browse the repository at this point in the history
  3. Typo

    babolivier committed May 28, 2019
    Configuration menu
    Copy the full SHA
    7e1c7cc View commit details
    Browse the repository at this point in the history

Commits on May 31, 2019

  1. Configuration menu
    Copy the full SHA
    847b9dc View commit details
    Browse the repository at this point in the history
  2. Gah python

    babolivier committed May 31, 2019
    Configuration menu
    Copy the full SHA
    0c23628 View commit details
    Browse the repository at this point in the history
  3. Sample config

    babolivier committed May 31, 2019
    Configuration menu
    Copy the full SHA
    6bfc5ad View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4d794da View commit details
    Browse the repository at this point in the history
  5. Sample config

    babolivier committed May 31, 2019
    Configuration menu
    Copy the full SHA
    e975b15 View commit details
    Browse the repository at this point in the history