diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2022-08-30 07:12:48 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-30 07:12:48 -0400 |
commit | 20df96a7a7e3d676b0beae12d0eeb1f1d668247e (patch) | |
tree | aae97add68dca8779c791cff3cdf24feddd22abd /synapse | |
parent | Fix that user cannot `/forget` rooms after the last member has left (#13546) (diff) | |
download | synapse-20df96a7a7e3d676b0beae12d0eeb1f1d668247e.tar.xz |
Speed up inserting `event_push_actions_staging`. (#13634)
By using `execute_values` instead of `execute_batch`.
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/storage/databases/main/event_push_actions.py | 28 |
1 files changed, 8 insertions, 20 deletions
diff --git a/synapse/storage/databases/main/event_push_actions.py b/synapse/storage/databases/main/event_push_actions.py |