summary refs log tree commit diff
path: root/synapse/app
diff options
context:
space:
mode:
authorNeil Johnson <neil@fragile.org.uk>2018-08-16 22:55:32 +0100
committerNeil Johnson <neil@fragile.org.uk>2018-08-16 22:55:32 +0100
commitbcfeb44afe750dadd4199e7c02302b0157bdab11 (patch)
treea2c3bb85b247336c67f5a1dd653ee91c086bfc39 /synapse/app
parentblock event creation and room creation on hitting resource limits (diff)
downloadsynapse-bcfeb44afe750dadd4199e7c02302b0157bdab11.tar.xz
call reap on start up and fix under reaping bug
Diffstat (limited to 'synapse/app')
-rwxr-xr-xsynapse/app/homeserver.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py
index a98bb506e5..800b9c0e3c 100755
--- a/synapse/app/homeserver.py
+++ b/synapse/app/homeserver.py
@@ -525,6 +525,7 @@ def run(hs):
     clock.looping_call(
         hs.get_datastore().reap_monthly_active_users, 1000 * 60 * 60
     )
+    yield hs.get_datastore().reap_monthly_active_users()
 
     @defer.inlineCallbacks
     def generate_monthly_active_users():