mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-15 04:53:53 +01:00
Fix background update that prematurely stopped
This commit is contained in:
parent
d431c0924c
commit
7ec2bf9b77
1 changed files with 1 additions and 1 deletions
|
@ -534,7 +534,7 @@ class RoomMemberStore(SQLBaseStore):
|
||||||
txn, _MEMBERSHIP_PROFILE_UPDATE_NAME, progress
|
txn, _MEMBERSHIP_PROFILE_UPDATE_NAME, progress
|
||||||
)
|
)
|
||||||
|
|
||||||
return len(to_update)
|
return len(rows)
|
||||||
|
|
||||||
result = yield self.runInteraction(
|
result = yield self.runInteraction(
|
||||||
_MEMBERSHIP_PROFILE_UPDATE_NAME, add_membership_profile_txn
|
_MEMBERSHIP_PROFILE_UPDATE_NAME, add_membership_profile_txn
|
||||||
|
|
Loading…
Reference in a new issue