mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-12 02:14:21 -05:00
Fix comments
This commit is contained in:
parent
4ae85ae121
commit
d76621a47b
@ -35,7 +35,7 @@ def _wrap_in_base_path(func):
|
|||||||
class MediaFilePaths(object):
|
class MediaFilePaths(object):
|
||||||
"""Describes where files are stored on disk.
|
"""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
|
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)
|
to write to the backup media store (when one is configured)
|
||||||
"""
|
"""
|
||||||
|
@ -343,6 +343,9 @@ class PreviewUrlResource(Resource):
|
|||||||
def _expire_url_cache_data(self):
|
def _expire_url_cache_data(self):
|
||||||
"""Clean up expired url cache content, media and thumbnails.
|
"""Clean up expired url cache content, media and thumbnails.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
# TODO: Delete from backup media store
|
||||||
|
|
||||||
now = self.clock.time_msec()
|
now = self.clock.time_msec()
|
||||||
|
|
||||||
# First we delete expired url cache entries
|
# First we delete expired url cache entries
|
||||||
|
Loading…
Reference in New Issue
Block a user