diff options
author | Erik Johnston <erik@matrix.org> | 2017-09-28 13:56:53 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-09-28 13:56:53 +0100 |
commit | 7cc483aa0ef9e51bd3839768e44b449cf6d24136 (patch) | |
tree | b21684944ddc0694873f0a4a5dc1fd904c929339 /synapse | |
parent | Actually assign result to variable (diff) | |
download | synapse-7cc483aa0ef9e51bd3839768e44b449cf6d24136.tar.xz |
Clear up expired url cache every 10s
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/rest/media/v1/preview_url_resource.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/media/v1/preview_url_resource.py b/synapse/rest/media/v1/preview_url_resource.py index 0123369a7f..2300c263e0 100644 --- a/synapse/rest/media/v1/preview_url_resource.py +++ b/synapse/rest/media/v1/preview_url_resource.py @@ -74,7 +74,7 @@ class PreviewUrlResource(Resource): self.downloads = {} self._cleaner_loop = self.clock.looping_call( - self._expire_url_cache_data, 30 * 1000 + self._expire_url_cache_data, 10 * 1000 ) def render_GET(self, request): |