diff options
author | Erik Johnston <erikj@jki.re> | 2016-12-12 17:20:17 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-12 17:20:17 +0000 |
commit | 8588d0eb3d20dab498925adb00b6be563b99c66e (patch) | |
tree | 7b8627309e333e48dcd63a95ddf35b1ecbce2e12 /synapse/storage | |
parent | Merge pull request #1676 from matrix-org/erikj/room_list (diff) | |
parent | Fix background update that prematurely stopped (diff) | |
download | synapse-8588d0eb3d20dab498925adb00b6be563b99c66e.tar.xz |
Merge pull request #1697 from matrix-org/erikj/fix_bg_member
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 |