summary refs log tree commit diff
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-01-06 14:04:43 +0000
committerMark Haines <mark.haines@matrix.org>2015-01-06 14:04:58 +0000
commitb9f77d1ae130ffbdc0be8e2102fd3f1722acf4a0 (patch)
tree469deed6ab567ff00af88dd9ddbf770eb1d413f7
parentMerge pull request #28 from matrix-org/erikj-perf (diff)
downloadsynapse-b9f77d1ae130ffbdc0be8e2102fd3f1722acf4a0.tar.xz
Increase default maximum attachment size to 10M
-rw-r--r--synapse/config/repository.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/repository.py b/synapse/config/repository.py
index 0173749193..e1827f05e4 100644
--- a/synapse/config/repository.py
+++ b/synapse/config/repository.py
@@ -37,7 +37,7 @@ class ContentRepositoryConfig(Config):
         super(ContentRepositoryConfig, cls).add_arguments(parser)
         db_group = parser.add_argument_group("content_repository")
         db_group.add_argument(
-            "--max-upload-size", default="1M"
+            "--max-upload-size", default="10M"
         )
         db_group.add_argument(
             "--media-store-path", default=cls.default_path("media_store")