mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-12-15 15:08:48 -05:00
Clear up expired url cache every 10s
This commit is contained in:
parent
e1e7d76cf1
commit
7cc483aa0e
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue