add some logging to the rooms stats updates, to try to track down a flaky test (#6167)

This commit is contained in:
Richard van der Hoff 2019-10-07 14:41:39 +01:00 committed by GitHub
parent 97e2722723
commit 276ae5c63e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 0 deletions

View file

@ -332,6 +332,9 @@ class StatsStore(StateDeltasStore):
def _bulk_update_stats_delta_txn(txn):
for stats_type, stats_updates in updates.items():
for stats_id, fields in stats_updates.items():
logger.info(
"Updating %s stats for %s: %s", stats_type, stats_id, fields
)
self._update_stats_delta_txn(
txn,
ts=ts,