Merge pull request #3932 from matrix-org/erikj/auto_start_expiring_caches

Fix some instances of ExpiringCache not expiring cache items
This commit is contained in:
Richard van der Hoff 2018-09-25 12:02:57 +01:00 committed by GitHub
commit 4c3e7eeec5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 13 additions and 39 deletions

View file

@ -79,7 +79,6 @@ class PreviewUrlResource(Resource):
# don't spider URLs more often than once an hour
expiry_ms=60 * 60 * 1000,
)
self._cache.start()
self._cleaner_loop = self.clock.looping_call(
self._start_expire_url_cache_data, 10 * 1000,