This commit is contained in:
anoadragon453 2022-06-07 10:54:23 +00:00
parent b9ea74a8ba
commit 2811108a26
4 changed files with 12 additions and 2 deletions

View File

@ -4404,6 +4404,11 @@ otherwise downloaded by a local or remote user. If the media has never
been accessed, the media's creation time is used instead. Both thumbnails been accessed, the media's creation time is used instead. Both thumbnails
and the original media will be removed. If either of these options are unset, and the original media will be removed. If either of these options are unset,
then media of that type will not be purged.</p> then media of that type will not be purged.</p>
<p>Local or cached remote media that has been
<a href="usage/configuration/../../admin_api/media_admin_api.html#quarantining-media-in-a-room">quarantined</a>
will not be deleted. Similarly, local media that has been marked as
<a href="usage/configuration/../../admin_api/media_admin_api.html#protecting-media-from-being-quarantined">protected from quarantine</a>
will not be deleted.</p>
<p>Example configuration:</p> <p>Example configuration:</p>
<pre><code class="language-yaml">media_retention: <pre><code class="language-yaml">media_retention:
local_media_lifetime: 90d local_media_lifetime: 90d

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1449,6 +1449,11 @@ otherwise downloaded by a local or remote user. If the media has never
been accessed, the media's creation time is used instead. Both thumbnails been accessed, the media's creation time is used instead. Both thumbnails
and the original media will be removed. If either of these options are unset, and the original media will be removed. If either of these options are unset,
then media of that type will not be purged.</p> then media of that type will not be purged.</p>
<p>Local or cached remote media that has been
<a href="../../admin_api/media_admin_api.html#quarantining-media-in-a-room">quarantined</a>
will not be deleted. Similarly, local media that has been marked as
<a href="../../admin_api/media_admin_api.html#protecting-media-from-being-quarantined">protected from quarantine</a>
will not be deleted.</p>
<p>Example configuration:</p> <p>Example configuration:</p>
<pre><code class="language-yaml">media_retention: <pre><code class="language-yaml">media_retention:
local_media_lifetime: 90d local_media_lifetime: 90d