diff options
author | Erik Johnston <erik@matrix.org> | 2016-04-22 09:37:16 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-04-22 10:01:57 +0100 |
commit | 183cacac90ca237b448da244270d55920470389b (patch) | |
tree | 9fb099d9986b135a555018d4b35b302b5c2c8be1 /synapse/storage/background_updates.py | |
parent | Order NULLs first (diff) | |
download | synapse-183cacac90ca237b448da244270d55920470389b.tar.xz |
Simplify query and handle finishing correctly
Diffstat (limited to 'synapse/storage/background_updates.py')
-rw-r--r-- | synapse/storage/background_updates.py | 3 |
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) |