mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 04:44:52 -04:00
Don't start user_directory handling on workers
This commit is contained in:
parent
2f34ad31ac
commit
ecdd2a3658
2 changed files with 3 additions and 3 deletions
|
@ -46,6 +46,9 @@ class UserDirectoyHandler(object):
|
|||
self.state = hs.get_state_handler()
|
||||
self.server_name = hs.hostname
|
||||
self.clock = hs.get_clock()
|
||||
self.notifier = hs.get_notifier()
|
||||
|
||||
self.notifier.add_replication_callback(self.notify_new_event)
|
||||
|
||||
# When start up for the first time we need to populate the user_directory.
|
||||
# This is a set of user_id's we've inserted already
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue