mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-01-31 12:53:21 -05:00
Actually assign result to variable
This commit is contained in:
parent
93247a424a
commit
e1e7d76cf1
@ -372,7 +372,7 @@ class PreviewUrlResource(Resource):
|
|||||||
# may have a room open with a preview url thing open).
|
# may have a room open with a preview url thing open).
|
||||||
# So we wait a couple of days before deleting, just in case.
|
# So we wait a couple of days before deleting, just in case.
|
||||||
expire_before = now - 2 * 24 * 60 * 60 * 1000
|
expire_before = now - 2 * 24 * 60 * 60 * 1000
|
||||||
yield self.store.get_url_cache_media_before(expire_before)
|
media_ids = yield self.store.get_url_cache_media_before(expire_before)
|
||||||
|
|
||||||
removed_media = []
|
removed_media = []
|
||||||
for media_id in media_ids:
|
for media_id in media_ids:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user