Merge pull request #1884 from etkecc/master
add synapse media_retention
This commit is contained in:
@ -86,6 +86,14 @@ matrix_synapse_form_secret: "{{ matrix_synapse_macaroon_secret_key }}"
|
||||
|
||||
matrix_synapse_max_upload_size_mb: 50
|
||||
|
||||
# Controls whether local media should be removed under certain conditions, typically for the purpose of saving space.
|
||||
# should be empty to disable
|
||||
matrix_synapse_media_retention_local_media_lifetime:
|
||||
# Controls whether remote media cache (media that is downloaded from other homeservers)
|
||||
# should be removed under certain conditions, typically for the purpose of saving space.
|
||||
# should be empty to disable
|
||||
matrix_synapse_media_retention_remote_media_lifetime:
|
||||
|
||||
# The tmpfs at /tmp needs to be large enough to handle multiple concurrent file uploads.
|
||||
matrix_synapse_tmp_directory_size_mb: "{{ matrix_synapse_max_upload_size_mb * 50 }}"
|
||||
|
||||
|
Reference in New Issue
Block a user