Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Actually assign result to variable
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston committed Sep 28, 2017
1 parent 93247a4 commit e1e7d76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/rest/media/v1/preview_url_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ def _expire_url_cache_data(self):
# may have a room open with a preview url thing open).
# So we wait a couple of days before deleting, just in case.
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 = []
for media_id in media_ids:
Expand Down

0 comments on commit e1e7d76

Please sign in to comment.