summary refs log tree commit diff
path: root/synapse/storage/background_updates.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-04-22 09:37:16 +0100
committerErik Johnston <erik@matrix.org>2016-04-22 10:01:57 +0100
commit183cacac90ca237b448da244270d55920470389b (patch)
tree9fb099d9986b135a555018d4b35b302b5c2c8be1 /synapse/storage/background_updates.py
parentOrder NULLs first (diff)
downloadsynapse-183cacac90ca237b448da244270d55920470389b.tar.xz
Simplify query and handle finishing correctly
Diffstat (limited to 'synapse/storage/background_updates.py')
-rw-r--r--synapse/storage/background_updates.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/storage/background_updates.py b/synapse/storage/background_updates.py
index 49904046cf..66a995157d 100644
--- a/synapse/storage/background_updates.py
+++ b/synapse/storage/background_updates.py
@@ -173,11 +173,12 @@ class BackgroundUpdateStore(SQLBaseStore):
 
         logger.info(
             "Updating %r. Updated %r items in %rms."
-            " (total_rate=%r/ms, current_rate=%r/ms, total_updated=%r)",
+            " (total_rate=%r/ms, current_rate=%r/ms, total_updated=%r, batch_size=%r)",
             update_name, items_updated, duration_ms,
             performance.total_items_per_ms(),
             performance.average_items_per_ms(),
             performance.total_item_count,
+            batch_size,
         )
 
         performance.update(items_updated, duration_ms)