diff options
author | Erik Johnston <erik@matrix.org> | 2019-05-25 19:59:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-25 19:59:42 +0100 |
commit | d0bba351974fbaa23fa06349b3f1f4a0e03e1e0d (patch) | |
tree | efa9c6e0afbf660d69340312f83429f926e826ce | |
parent | Merge pull request #5257 from aaronraimist/fix-error-code-publicrooms (diff) | |
parent | Changelog (diff) | |
download | synapse-d0bba351974fbaa23fa06349b3f1f4a0e03e1e0d.tar.xz |
Merge pull request #5260 from matrix-org/travis/fix-room-bg-task
Fix logging for room stats background update
-rw-r--r-- | changelog.d/5260.feature | 1 | ||||
-rw-r--r-- | synapse/storage/stats.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/5260.feature b/changelog.d/5260.feature new file mode 100644 index 0000000000..01285e965c --- /dev/null +++ b/changelog.d/5260.feature @@ -0,0 +1 @@ +Synapse now more efficiently collates room statistics. diff --git a/synapse/storage/stats.py b/synapse/storage/stats.py index 71b80a891d..eb0ced5b5e 100644 --- a/synapse/storage/stats.py +++ b/synapse/storage/stats.py @@ -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 |