mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-07-26 13:05:17 -04:00
Increase batch size of bulk_get_push_rules
and _get_joined_profiles_from_event_ids
. (#13300)
This commit is contained in:
parent
15edf23626
commit
7864f33e28
3 changed files with 3 additions and 1 deletions
|
@ -228,6 +228,7 @@ class PushRulesWorkerStore(
|
|||
iterable=user_ids,
|
||||
retcols=("*",),
|
||||
desc="bulk_get_push_rules",
|
||||
batch_size=1000,
|
||||
)
|
||||
|
||||
rows.sort(key=lambda row: (-int(row["priority_class"]), -int(row["priority"])))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue