summary refs log tree commit diff
path: root/synapse/config
diff options
context:
space:
mode:
authorNeil Johnson <neil@fragile.org.uk>2018-03-20 14:25:31 +0000
committerNeil Johnson <neil@fragile.org.uk>2018-03-20 14:25:31 +0000
commite66fbcbb02d98a0d165f3c5d4642d26add233562 (patch)
tree01b5c79c3951f31d5826a852f49aa312d8e47604 /synapse/config
parentUpdate __init__.py (diff)
parentMerge pull request #3005 from matrix-org/erikj/fix_cache_size (diff)
downloadsynapse-e66fbcbb02d98a0d165f3c5d4642d26add233562.tar.xz
fix merge conflicts
Diffstat (limited to 'synapse/config')
-rw-r--r--synapse/config/registration.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/config/registration.py b/synapse/config/registration.py
index 336959094b..c5384b3ad4 100644
--- a/synapse/config/registration.py
+++ b/synapse/config/registration.py
@@ -77,7 +77,9 @@ class RegistrationConfig(Config):
 
         # Set the number of bcrypt rounds used to generate password hash.
         # Larger numbers increase the work factor needed to generate the hash.
-        # The default number of rounds is 12.
+        # The default number is 12 (which equates to 2^12 rounds).
+        # N.B. that increasing this will exponentially increase the time required
+        # to register or login - e.g. 24 => 2^24 rounds which will take >20 mins.
         bcrypt_rounds: 12
 
         # Allows users to register as guests without a password/email/etc, and