mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-22 04:34:00 +00:00
Fixed linting warnings
This commit is contained in:
parent
305e3afb1b
commit
85005d1b0b
@ -149,7 +149,7 @@ matrix_media_repo_homeservers: "{{ matrix_media_repo_homeservers_auto + matrix_m
|
||||
|
||||
# Auto configured server setup by the playbook
|
||||
matrix_media_repo_homeservers_auto:
|
||||
- # Keep the dash from this line.
|
||||
- # Keep the dash from this line.
|
||||
|
||||
# This should match the server_name of your homeserver, and the Host header
|
||||
# provided to the media repo.
|
||||
@ -324,13 +324,13 @@ matrix_media_repo_archiving_target_bytes_per_part: 209715200 # 200mb default
|
||||
# The file upload settings for the media repository
|
||||
|
||||
# The maximum individual file size a user can upload.
|
||||
matrix_media_repo_max_bytes: 104857600 # 100MB default, 0 to disable
|
||||
matrix_media_repo_max_bytes: 104857600 # 100MB default, 0 to disable
|
||||
|
||||
# The minimum number of bytes to let people upload. This is recommended to be non-zero to
|
||||
# ensure that the "cost" of running the media repo is worthwhile - small file uploads tend
|
||||
# to waste more CPU and database resources than small files, thus a default of 100 bytes
|
||||
# is applied here as an approximate break-even point.
|
||||
matrix_media_repo_min_bytes: 100 # 100 bytes by default
|
||||
matrix_media_repo_min_bytes: 100 # 100 bytes by default
|
||||
|
||||
# The number of bytes to claim as the maximum size for uploads for the limits API. If this
|
||||
# is not provided then the maxBytes setting will be used instead. This is useful to provide
|
||||
@ -368,7 +368,7 @@ matrix_media_repo_quotas_users: "{{ matrix_media_repo_quotas_users_auto + matrix
|
||||
matrix_media_repo_quotas_users_auto:
|
||||
- glob: "@*:*" # Affect all users. Use asterisks (*) to match any character.
|
||||
# The maximum number of TOTAL bytes a user can upload. Defaults to zero (no limit).
|
||||
maxBytes: 53687063712 # 50gb
|
||||
maxBytes: 53687063712 # 50gb
|
||||
# The same as maxPending above - the number of uploads the user can have waiting to
|
||||
# complete before starting another one. Defaults to maxPending above. Set to 0 to
|
||||
# disable.
|
||||
@ -407,7 +407,7 @@ matrix_media_repo_downloads_expire_after_days: 0
|
||||
# by clients when they only need part of a file, such as a video or audio element. Note that
|
||||
# the entire file will still be cached (if enabled), but only part of it will be returned.
|
||||
# If the client requests a larger or smaller range, that will be honoured.
|
||||
matrix_media_repo_downloads_default_range_chunk_size_bytes: 10485760 # 10MB default
|
||||
matrix_media_repo_downloads_default_range_chunk_size_bytes: 10485760 # 10MB default
|
||||
|
||||
# URL Preview settings
|
||||
|
||||
@ -490,12 +490,12 @@ matrix_media_repo_url_previews_o_embed: false
|
||||
# The thumbnail configuration for the media repository.
|
||||
|
||||
# The maximum number of bytes an image can be before the thumbnailer refuses.
|
||||
matrix_media_repo_thumbnails_max_source_bytes: 10485760 # 10MB default, 0 to disable
|
||||
matrix_media_repo_thumbnails_max_source_bytes: 10485760 # 10MB default, 0 to disable
|
||||
|
||||
# The maximum number of pixels an image can have before the thumbnailer refuses. Note that
|
||||
# this only applies to image types: file types like audio and video are affected solely by
|
||||
# the maxSourceBytes.
|
||||
matrix_media_repo_thumbnails_max_pixels: 32000000 # 32M default
|
||||
matrix_media_repo_thumbnails_max_pixels: 32000000 # 32M default
|
||||
|
||||
# The number of workers to use when generating thumbnails. Raise this number if thumbnails
|
||||
# are slow to generate or timing out.
|
||||
@ -541,12 +541,12 @@ matrix_media_repo_thumbnails_types:
|
||||
- "image/webp"
|
||||
- "image/bmp"
|
||||
- "image/tiff"
|
||||
#- "image/svg+xml" # Be sure to have ImageMagick installed to thumbnail SVG files
|
||||
# - "image/svg+xml" # Be sure to have ImageMagick installed to thumbnail SVG files
|
||||
- "audio/mpeg"
|
||||
- "audio/ogg"
|
||||
- "audio/wav"
|
||||
- "audio/flac"
|
||||
#- "video/mp4" # Be sure to have ffmpeg installed to thumbnail video files
|
||||
# - "video/mp4" # Be sure to have ffmpeg installed to thumbnail video files
|
||||
|
||||
# Animated thumbnails can be CPU intensive to generate. To disable the generation of animated
|
||||
# thumbnails, set this to false. If disabled, regular thumbnails will be returned.
|
||||
@ -557,7 +557,7 @@ matrix_media_repo_thumbnails_default_animated: false
|
||||
|
||||
# The maximum file size to thumbnail when a capable animated thumbnail is requested. If the image
|
||||
# is larger than this, the thumbnail will be generated as a static image.
|
||||
matrix_media_repo_thumbnails_max_animate_size_bytes: 10485760 # 10MB default, 0 to disable
|
||||
matrix_media_repo_thumbnails_max_animate_size_bytes: 10485760 # 10MB default, 0 to disable
|
||||
|
||||
# On a scale of 0 (start of animation) to 1 (end of animation), where should the thumbnailer try
|
||||
# and thumbnail animated content? Defaults to 0.5 (middle of animation).
|
||||
@ -667,7 +667,7 @@ matrix_media_repo_plugins:
|
||||
# Sections of this config might disappear or be added over time. By default all
|
||||
# features are disabled in here and must be explicitly enabled to be used.
|
||||
# featureSupport:
|
||||
# No unstable features are currently supported.
|
||||
# No unstable features are currently supported.
|
||||
|
||||
# Support for redis as a cache mechanism
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user