mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-08-07 10:02:11 -04:00
Fix assertion to stop transaction queue getting wedged
... and update some docstrings to correctly reflect the types being used. get_new_device_msgs_for_remote can return a long under some circumstances, which was being stored in last_device_list_stream_id_by_dest, and was then upsetting things on the next loop.
This commit is contained in:
parent
3b2dd1b3c2
commit
29ed09e80a
6 changed files with 29 additions and 5 deletions
|
@ -308,7 +308,7 @@ class DeviceStore(SQLBaseStore):
|
|||
"""Get stream of updates to send to remote servers
|
||||
|
||||
Returns:
|
||||
(now_stream_id, [ { updates }, .. ])
|
||||
(int, list[dict]): current stream id and list of updates
|
||||
"""
|
||||
now_stream_id = self._device_list_id_gen.get_current_token()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue