Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #5260 from matrix-org/travis/fix-room-bg-task
Browse files Browse the repository at this point in the history
Fix logging for room stats background update
  • Loading branch information
erikjohnston authored May 25, 2019
2 parents 338dca5 + 4ccdbfc commit d0bba35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/5260.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Synapse now more efficiently collates room statistics.
2 changes: 1 addition & 1 deletion synapse/storage/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def _get_next_batch(txn):

logger.info(
"Processing the next %d rooms of %d remaining",
(len(rooms_to_work_on), progress["remaining"]),
len(rooms_to_work_on), progress["remaining"],
)

# Number of state events we've processed by going through each room
Expand Down

0 comments on commit d0bba35

Please sign in to comment.