Skip to content
Snippets Groups Projects
Unverified Commit 1b2d6d55 authored by Richard van der Hoff's avatar Richard van der Hoff Committed by GitHub
Browse files

Remove vestiges of uploads_path config (#9462)

`uploads_path` was a thing that was never used; most of it was removed in #6628
but a few vestiges remained.
parent 71c9f8de
No related branches found
No related tags found
No related merge requests found
Remove vestiges of `uploads_path` configuration setting.
...@@ -11,7 +11,6 @@ The image also does *not* provide a TURN server. ...@@ -11,7 +11,6 @@ The image also does *not* provide a TURN server.
By default, the image expects a single volume, located at ``/data``, that will hold: By default, the image expects a single volume, located at ``/data``, that will hold:
* configuration files; * configuration files;
* temporary files during uploads;
* uploaded media and thumbnails; * uploaded media and thumbnails;
* the SQLite database if you do not configure postgres; * the SQLite database if you do not configure postgres;
* the appservices configuration. * the appservices configuration.
......
...@@ -89,7 +89,6 @@ federation_rc_concurrent: 3 ...@@ -89,7 +89,6 @@ federation_rc_concurrent: 3
## Files ## ## Files ##
media_store_path: "/data/media" media_store_path: "/data/media"
uploads_path: "/data/uploads"
max_upload_size: "{{ SYNAPSE_MAX_UPLOAD_SIZE or "50M" }}" max_upload_size: "{{ SYNAPSE_MAX_UPLOAD_SIZE or "50M" }}"
max_image_pixels: "32M" max_image_pixels: "32M"
dynamic_thumbnails: false dynamic_thumbnails: false
......
...@@ -206,7 +206,6 @@ class ContentRepositoryConfig(Config): ...@@ -206,7 +206,6 @@ class ContentRepositoryConfig(Config):
def generate_config_section(self, data_dir_path, **kwargs): def generate_config_section(self, data_dir_path, **kwargs):
media_store = os.path.join(data_dir_path, "media_store") media_store = os.path.join(data_dir_path, "media_store")
uploads_path = os.path.join(data_dir_path, "uploads")
formatted_thumbnail_sizes = "".join( formatted_thumbnail_sizes = "".join(
THUMBNAIL_SIZE_YAML % s for s in DEFAULT_THUMBNAIL_SIZES THUMBNAIL_SIZE_YAML % s for s in DEFAULT_THUMBNAIL_SIZES
......
...@@ -114,7 +114,6 @@ def default_config(name, parse=False): ...@@ -114,7 +114,6 @@ def default_config(name, parse=False):
"server_name": name, "server_name": name,
"send_federation": False, "send_federation": False,
"media_store_path": "media", "media_store_path": "media",
"uploads_path": "uploads",
# the test signing key is just an arbitrary ed25519 key to keep the config # the test signing key is just an arbitrary ed25519 key to keep the config
# parser happy # parser happy
"signing_key": "ed25519 a_lPym qvioDNmfExFBRPgdTU+wtFYKq4JfwFRv7sYVgWvmgJg", "signing_key": "ed25519 a_lPym qvioDNmfExFBRPgdTU+wtFYKq4JfwFRv7sYVgWvmgJg",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment