mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-07-27 11:45:19 -04:00
Bump flake8-bugbear from 21.3.2 to 22.9.23 (#14042)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Erik Johnston <erik@matrix.org> Co-authored-by: David Robertson <davidr@element.io>
This commit is contained in:
parent
695a85d1bc
commit
0b7830e457
8 changed files with 22 additions and 15 deletions
|
@ -707,8 +707,8 @@ class RoomMemberWorkerStore(EventsWorkerStore):
|
|||
|
||||
# 250 users is pretty arbitrary but the data can be quite large if users
|
||||
# are in many rooms.
|
||||
for user_ids in batch_iter(user_ids, 250):
|
||||
all_user_rooms.update(await self._get_rooms_for_users(user_ids))
|
||||
for batch_user_ids in batch_iter(user_ids, 250):
|
||||
all_user_rooms.update(await self._get_rooms_for_users(batch_user_ids))
|
||||
|
||||
return all_user_rooms
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue