mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-07-31 20:18:35 -04:00
Call UserDirectoryHandler methods directly
Turns out that the user directory handling is fairly racey as a bunch of stuff assumes that the processing happens on master, which it doesn't when there is a synapse.app.user_dir worker. So lets just call the function directly until we actually get round to fixing it, since it doesn't make the situation any worse.
This commit is contained in:
parent
782689bd40
commit
91cdb6de08
4 changed files with 8 additions and 104 deletions
|
@ -14,7 +14,7 @@
|
|||
# limitations under the License.
|
||||
|
||||
from synapse.http.server import JsonResource
|
||||
from synapse.replication.http import federation, membership, profile, send_event
|
||||
from synapse.replication.http import federation, membership, send_event
|
||||
|
||||
REPLICATION_PREFIX = "/_synapse/replication"
|
||||
|
||||
|
@ -27,5 +27,4 @@ class ReplicationRestResource(JsonResource):
|
|||
def register_servlets(self, hs):
|
||||
send_event.register_servlets(hs, self)
|
||||
membership.register_servlets(hs, self)
|
||||
profile.register_servlets(hs, self)
|
||||
federation.register_servlets(hs, self)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue