diff options
author | Erik Johnston <erik@matrix.org> | 2016-12-12 16:54:16 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-12-12 16:54:58 +0000 |
commit | 7ec2bf9b77527e8edd4d7936710aeaa580ca20e4 (patch) | |
tree | 5a8eee47af772389d8f36eda4e8e4988e48aed2f /synapse/storage | |
parent | Merge pull request #1694 from matrix-org/rav/no_get_e2e_keys (diff) | |
download | synapse-7ec2bf9b77527e8edd4d7936710aeaa580ca20e4.tar.xz |
Fix background update that prematurely stopped
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/roommember.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/roommember.py b/synapse/storage/roommember.py index b2a45a38c1..63e8c32903 100644 --- a/synapse/storage/roommember.py +++ b/synapse/storage/roommember.py @@ -534,7 +534,7 @@ class RoomMemberStore(SQLBaseStore): txn, _MEMBERSHIP_PROFILE_UPDATE_NAME, progress ) - return len(to_update) + return len(rows) result = yield self.runInteraction( _MEMBERSHIP_PROFILE_UPDATE_NAME, add_membership_profile_txn |