This repository was archived by the owner on Apr 26, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -996,7 +996,7 @@ async def incoming_device_list_update(
996
996
# Check if we are partially joining any rooms. If so we need to store
997
997
# all device list updates so that we can handle them correctly once we
998
998
# know who is in the room.
999
- # TODO(faster joins ): this fetches and processes a bunch of data that we don't
999
+ # TODO(faster_joins ): this fetches and processes a bunch of data that we don't
1000
1000
# use. Could be replaced by a tighter query e.g.
1001
1001
# SELECT EXISTS(SELECT 1 FROM partial_state_rooms)
1002
1002
partial_rooms = await self .store .get_partial_state_room_resync_info ()
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ def __init__(self, hs: "HomeServer"):
42
42
store = hs .get_datastores ().main
43
43
super ().__init__ (
44
44
hs .get_instance_name (),
45
- # TODO(faster joins , multiple writers): we need to account for instance names
45
+ # TODO(faster_joins , multiple writers): we need to account for instance names
46
46
current_token_without_instance (store .get_un_partial_stated_rooms_token ),
47
47
store .get_un_partial_stated_rooms_from_stream ,
48
48
)
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ def __init__(
132
132
("un_partial_stated_room_stream" , "instance_name" , "stream_id" )
133
133
],
134
134
sequence_name = "un_partial_stated_room_stream_sequence" ,
135
- # TODO(faster joins , multiple writers) Support multiple writers.
135
+ # TODO(faster_joins , multiple writers) Support multiple writers.
136
136
writers = ["master" ],
137
137
)
138
138
else :
@@ -1274,7 +1274,7 @@ async def get_join_event_id_and_device_lists_stream_id_for_partial_state(
1274
1274
return result ["join_event_id" ], result ["device_lists_stream_id" ]
1275
1275
1276
1276
def get_un_partial_stated_rooms_token (self ) -> int :
1277
- # TODO(faster joins , multiple writers): This is inappropriate if there
1277
+ # TODO(faster_joins , multiple writers): This is inappropriate if there
1278
1278
# are multiple writers because workers that don't write often will
1279
1279
# hold all readers up.
1280
1280
# (See `MultiWriterIdGenerator.get_persisted_upto_position` for an
You can’t perform that action at this time.
0 commit comments