Merge pull request #5260 from matrix-org/travis/fix-room-bg-task

Fix logging for room stats background update
This commit is contained in:
Erik Johnston 2019-05-25 19:59:42 +01:00 committed by GitHub
commit d0bba35197
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
changelog.d/5260.feature Normal file
View File

@ -0,0 +1 @@
Synapse now more efficiently collates room statistics.

View File

@ -169,7 +169,7 @@ class StatsStore(StateDeltasStore):
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