This repository was archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add config options for media retention #12732
Merged
Merged
Changes from 5 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
21dcf4a
Add config options for media retention
anoadragon453 6046250
Run a media retention background job using configured lifetimes
anoadragon453 f7f556e
Generate sample config
anoadragon453 fb04e7a
Document that media purging will be done by the media worker
anoadragon453 35839a0
Move the config option documentation to the config docs
anoadragon453 eb6ed03
Add media_retention.purge_period to configure how often to purge
anoadragon453 61357ec
Remove the 'media_retention.enabled' config option
anoadragon453 1d859c9
Change the config example to non-default values
anoadragon453 a05d67b
Remove 'enabled' from the config documentation example
anoadragon453 d120931
Add tests for media retention
anoadragon453 66af297
Changelog
anoadragon453 04cae77
Remove empty Raises block in docstring
anoadragon453 d7a3040
Remove purge_period option
anoadragon453 9788cc7
Remember that it's 2022
anoadragon453 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.