diff options
author | Erik Johnston <erik@matrix.org> | 2017-05-22 17:48:53 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-05-22 17:48:58 +0100 |
commit | 11c2a3655f14550193adb0360e5df62cc7274b9a (patch) | |
tree | 1b6d83e450732d91a3a2207354f0c3828669194f /tests/utils.py | |
parent | Merge pull request #2241 from matrix-org/erikj/fix_notifs (diff) | |
download | synapse-11c2a3655f14550193adb0360e5df62cc7274b9a.tar.xz |
Only load jinja2 templates once
Instead of every time a new email pusher is created, as loading jinja2 templates is slow.
Diffstat (limited to 'tests/utils.py')
-rw-r--r-- | tests/utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/utils.py b/tests/utils.py index d3d6c8021d..4f7e32b3ab 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -55,6 +55,7 @@ def setup_test_homeserver(name="test", datastore=None, config=None, **kargs): config.password_providers = [] config.worker_replication_url = "" config.worker_app = None + config.email_enable_notifs = False config.use_frozen_dicts = True config.database_config = {"name": "sqlite3"} |