mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-09-20 22:44:35 -04:00
call reap on start up and fix under reaping bug
This commit is contained in:
parent
372bf073c1
commit
bcfeb44afe
4 changed files with 19 additions and 2 deletions
|
@ -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():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue