mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Merge pull request #1697 from matrix-org/erikj/fix_bg_member
Fix background update that prematurely stopped
This commit is contained in:
commit
8588d0eb3d
@ -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 New Issue
Block a user