diff options
author | Neil Johnson <neil@matrix.org> | 2020-01-22 11:05:14 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2020-01-22 11:05:14 +0000 |
commit | 5e52d8563bdc0ab6667f0ec2571f35791720a40a (patch) | |
tree | cff8ef682daac3fe60978b99d1269fefb34a0d77 /synapse/app/event_creator.py | |
parent | Allow streaming cache invalidate all to workers. (#6749) (diff) | |
download | synapse-5e52d8563bdc0ab6667f0ec2571f35791720a40a.tar.xz |
Allow monthly active user limiting support for worker mode, fixes #4639. (#6742)
Diffstat (limited to 'synapse/app/event_creator.py')
-rw-r--r-- | synapse/app/event_creator.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/app/event_creator.py b/synapse/app/event_creator.py index d0ddbe38fc..58e5b354f6 100644 --- a/synapse/app/event_creator.py +++ b/synapse/app/event_creator.py @@ -56,6 +56,9 @@ from synapse.rest.client.v1.room import ( RoomStateEventRestServlet, ) from synapse.server import HomeServer +from synapse.storage.data_stores.main.monthly_active_users import ( + MonthlyActiveUsersWorkerStore, +) from synapse.storage.data_stores.main.user_directory import UserDirectoryStore from synapse.util.httpresourcetree import create_resource_tree from synapse.util.manhole import manhole @@ -81,6 +84,7 @@ class EventCreatorSlavedStore( SlavedEventStore, SlavedRegistrationStore, RoomStore, + MonthlyActiveUsersWorkerStore, BaseSlavedStore, ): pass |