summary refs log tree commit diff
diff options
context:
space:
mode:
authorOlivier Wilkinson (reivilibre) <oliverw@matrix.org>2021-12-20 16:21:33 +0000
committerOlivier Wilkinson (reivilibre) <oliverw@matrix.org>2021-12-20 16:21:33 +0000
commit7abb4bbe73e807f9b5353fa63a68b09a44f14c45 (patch)
treed604286b253400b70a516acabd99c96324d0bc60
parentAdd some logging and validation to help determine whether this all works or n... (diff)
downloadsynapse-7abb4bbe73e807f9b5353fa63a68b09a44f14c45.tar.xz
Log a little bit more
-rw-r--r--synapse/storage/databases/state/store.py13
1 files changed, 6 insertions, 7 deletions
diff --git a/synapse/storage/databases/state/store.py b/synapse/storage/databases/state/store.py

index a5d13a361d..b6891f38c5 100644 --- a/synapse/storage/databases/state/store.py +++ b/synapse/storage/databases/state/store.py
@@ -504,13 +504,12 @@ class StateGroupDataStore(StateBackgroundUpdateStore, SQLBaseStore): ) log_ticker += 1 - if log_ticker % 1000 == 0: - validation_logger.info( - "%d. Correct: %r. Effective: %r", - log_ticker, - validation_counter, - effectiveness_counter, - ) + validation_logger.info( + "%d. Correct: %r. Effective: %r", + log_ticker, + validation_counter, + effectiveness_counter, + ) return old_result_for_verification