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 11:23:49 +0100
committerErik Johnston <erik@matrix.org>2016-04-22 11:23:49 +0100
commit64ec3493c1203747ab1b77a1f5b477a5f897613d (patch)
treea57b369c4b857ed1ef353ba7aedfcfcb431b9ec9 /synapse/storage/background_updates.py
parentMerge pull request #687 from nikriek/jwt-fix (diff)
parentUpdate port script (diff)
downloadsynapse-64ec3493c1203747ab1b77a1f5b477a5f897613d.tar.xz
Merge pull request #745 from matrix-org/erikj/search-index
Optimise event_search in postgres
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)