summary refs log tree commit diff
path: root/synapse/util/caches/expiringcache.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2018-07-26 14:55:57 +0100
committerGitHub <noreply@github.com>2018-07-26 14:55:57 +0100
commitef9d51b081e443772daa88865cf55355e957b57b (patch)
tree6ffc1e3336e59b71e4526c553d8031edf48dd871 /synapse/util/caches/expiringcache.py
parentcomment on event_edges (diff)
parentFix some looping_call calls which were broken in #3604 (diff)
downloadsynapse-ef9d51b081e443772daa88865cf55355e957b57b.tar.xz
Merge pull request #3610 from matrix-org/rav/fix_looping_calls
Fix some looping_call calls which were broken in #3604
Diffstat (limited to 'synapse/util/caches/expiringcache.py')
-rw-r--r--synapse/util/caches/expiringcache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/util/caches/expiringcache.py b/synapse/util/caches/expiringcache.py
index 465adc54a8..ce85b2ae11 100644
--- a/synapse/util/caches/expiringcache.py
+++ b/synapse/util/caches/expiringcache.py
@@ -64,7 +64,7 @@ class ExpiringCache(object):
             return
 
         def f():
-            run_as_background_process(
+            return run_as_background_process(
                 "prune_cache_%s" % self._cache_name,
                 self._prune_cache,
             )