mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-17 23:42:33 +01:00
Fix comments
This commit is contained in:
parent
4ae85ae121
commit
d76621a47b
2 changed files with 4 additions and 1 deletions
|
@ -35,7 +35,7 @@ def _wrap_in_base_path(func):
|
|||
class MediaFilePaths(object):
|
||||
"""Describes where files are stored on disk.
|
||||
|
||||
Most of the function have a `*_rel` variant which returns a file path that
|
||||
Most of the functions have a `*_rel` variant which returns a file path that
|
||||
is relative to the base media store path. This is mainly used when we want
|
||||
to write to the backup media store (when one is configured)
|
||||
"""
|
||||
|
|
|
@ -343,6 +343,9 @@ class PreviewUrlResource(Resource):
|
|||
def _expire_url_cache_data(self):
|
||||
"""Clean up expired url cache content, media and thumbnails.
|
||||
"""
|
||||
|
||||
# TODO: Delete from backup media store
|
||||
|
||||
now = self.clock.time_msec()
|
||||
|
||||
# First we delete expired url cache entries
|
||||
|
|
Loading…
Reference in a new issue