mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-23 01:55:53 +03:00
Fixup docs
This commit is contained in:
parent
248111bae8
commit
35f9165e96
2 changed files with 6 additions and 2 deletions
|
@ -1 +1 @@
|
||||||
Fix caching devices for remote users when using workers.
|
Fix caching devices for remote users when using workers, so that we don't attempt to refetch (and potentially fail) each time a user requests devices.
|
||||||
|
|
|
@ -21,7 +21,11 @@ logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
class ReplicationUserDevicesResyncRestServlet(ReplicationEndpoint):
|
class ReplicationUserDevicesResyncRestServlet(ReplicationEndpoint):
|
||||||
"""Notifies that a user has joined or left the room
|
"""Ask master to resync the device list for a user by contacting their
|
||||||
|
server.
|
||||||
|
|
||||||
|
This must happen on master so that the results can be correctly cached in
|
||||||
|
the database and streamed to workers.
|
||||||
|
|
||||||
Request format:
|
Request format:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue