summary refs log tree commit diff
path: root/synapse/app/synchrotron.py
diff options
context:
space:
mode:
authorNeil Johnson <neil@matrix.org>2020-01-22 11:05:14 +0000
committerErik Johnston <erik@matrix.org>2020-01-22 11:05:14 +0000
commit5e52d8563bdc0ab6667f0ec2571f35791720a40a (patch)
treecff8ef682daac3fe60978b99d1269fefb34a0d77 /synapse/app/synchrotron.py
parentAllow streaming cache invalidate all to workers. (#6749) (diff)
downloadsynapse-5e52d8563bdc0ab6667f0ec2571f35791720a40a.tar.xz
Allow monthly active user limiting support for worker mode, fixes #4639. (#6742)
Diffstat (limited to 'synapse/app/synchrotron.py')
-rw-r--r--synapse/app/synchrotron.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/app/synchrotron.py b/synapse/app/synchrotron.py
index 3218da07bd..8982c0676e 100644
--- a/synapse/app/synchrotron.py
+++ b/synapse/app/synchrotron.py
@@ -54,6 +54,9 @@ from synapse.rest.client.v1.initial_sync import InitialSyncRestServlet
 from synapse.rest.client.v1.room import RoomInitialSyncRestServlet
 from synapse.rest.client.v2_alpha import sync
 from synapse.server import HomeServer
+from synapse.storage.data_stores.main.monthly_active_users import (
+    MonthlyActiveUsersWorkerStore,
+)
 from synapse.storage.data_stores.main.presence import UserPresenceState
 from synapse.util.httpresourcetree import create_resource_tree
 from synapse.util.manhole import manhole
@@ -77,6 +80,7 @@ class SynchrotronSlavedStore(
     SlavedEventStore,
     SlavedClientIpStore,
     RoomStore,
+    MonthlyActiveUsersWorkerStore,
     BaseSlavedStore,
 ):
     pass