Compare commits

...

13 Commits

Author SHA1 Message Date
Neil Johnson
e36e103576 typo and update sample_config 2019-06-05 12:39:04 +01:00
Neil Johnson
15f6b5bed7 Update docs/sample_config.yaml
Co-Authored-By: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
2019-06-05 12:36:01 +01:00
Neil Johnson
0aac83bdcc Update docs/sample_config.yaml
Co-Authored-By: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
2019-06-05 12:35:53 +01:00
Neil Johnson
488a79367c Update docs/sample_config.yaml
Co-Authored-By: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
2019-06-05 12:35:18 +01:00
Neil Johnson
aee9269454 Update docs/sample_config.yaml
Co-Authored-By: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
2019-06-05 12:35:08 +01:00
Neil Johnson
12b9035b3a update sample to include recent typo fixes 2019-06-05 11:28:41 +01:00
Neil Johnson
f2070846bf typo tweaks 2019-05-29 11:51:17 +01:00
Neil Johnson
00fb94751b doc the remaining mau blocking config options 2019-05-29 11:48:45 +01:00
Neil Johnson
7f29b15ba5 update sample config 2019-05-29 11:47:50 +01:00
Neil Johnson
5b59796bb5 Update synapse/config/server.py
Co-Authored-By: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2019-05-29 11:39:55 +01:00
Neil Johnson
49a379ca47 Update synapse/config/server.py
Co-Authored-By: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2019-05-29 11:39:44 +01:00
Neil Johnson
ff5b05f954 towncrier 2019-05-29 09:28:09 +01:00
Neil Johnson
848c68c1aa explain Monthly Active User Blocking and mau_trial_days 2019-05-29 09:26:20 +01:00
3 changed files with 33 additions and 0 deletions

1
changelog.d/5284.misc Normal file
View File

@@ -0,0 +1 @@
Improve sample config for monthly active user blocking.

View File

@@ -261,6 +261,22 @@ listeners:
# Monthly Active User Blocking
#
# Used in cases where the admin or server owner wants to limit to the
# number of monthly active users.
#
# 'limit_usage_by_mau' disables/enables monthly active user blocking. When
# anabled and a limit is reached the server returns a 'ResourceLimitError'
# with error type Codes.RESOURCE_LIMIT_EXCEEDED
#
# 'max_mau_value' is the hard limit of monthly active users above which
# the server will start blocking user actions.
#
# 'mau_trial_days' is a means to add a grace period for active users. It
# means that users must be active for this number of days before they
# can be considered active and guards against the case where lots of users
# sign up in a short space of time never to return after their initial
# session.
#
#limit_usage_by_mau: False
#max_mau_value: 50
#mau_trial_days: 2

View File

@@ -585,6 +585,22 @@ class ServerConfig(Config):
# Monthly Active User Blocking
#
# Used in cases where the admin or server owner wants to limit to the
# number of monthly active users.
#
# 'limit_usage_by_mau' disables/enables monthly active user blocking. When
# anabled and a limit is reached the server returns a 'ResourceLimitError'
# with error type Codes.RESOURCE_LIMIT_EXCEEDED
#
# 'max_mau_value' is the hard limit of monthly active users above which
# the server will start blocking user actions.
#
# 'mau_trial_days' is a means to add a grace period for active users. It
# means that users must be active for this number of days before they
# can be considered active and guards against the case where lots of users
# sign up in a short space of time never to return after their initial
# session.
#
#limit_usage_by_mau: False
#max_mau_value: 50
#mau_trial_days: 2