mirror of
https://github.com/matrix-org/synapse.git
synced 2025-01-29 11:29:16 +00:00
Fix the 'set_device_id_for_pushers_txn' background update. (#15391)
Refer to the correct field from the response when updating the background update progress.
This commit is contained in:
parent
6d103373e2
commit
6eb3edec47
1
changelog.d/15391.bugfix
Normal file
1
changelog.d/15391.bugfix
Normal file
@ -0,0 +1 @@
|
||||
Fix the `set_device_id_for_pushers_txn` background update crash.
|
@ -562,7 +562,7 @@ class PusherBackgroundUpdatesStore(SQLBaseStore):
|
||||
)
|
||||
|
||||
self.db_pool.updates._background_update_progress_txn(
|
||||
txn, "set_device_id_for_pushers", {"pusher_id": rows[-1]["id"]}
|
||||
txn, "set_device_id_for_pushers", {"pusher_id": rows[-1]["pusher_id"]}
|
||||
)
|
||||
|
||||
return len(rows)
|
||||
|
Loading…
Reference in New Issue
Block a user