Merge pull request #6250 from matrix-org/michaelkaye/make_user_stats_less_verbose
Make user stats less verbose
This commit is contained in:
commit
2020f11916
|
@ -0,0 +1 @@
|
||||||
|
Reduce verbosity of user/room stats.
|
|
@ -332,7 +332,7 @@ class StatsStore(StateDeltasStore):
|
||||||
def _bulk_update_stats_delta_txn(txn):
|
def _bulk_update_stats_delta_txn(txn):
|
||||||
for stats_type, stats_updates in updates.items():
|
for stats_type, stats_updates in updates.items():
|
||||||
for stats_id, fields in stats_updates.items():
|
for stats_id, fields in stats_updates.items():
|
||||||
logger.info(
|
logger.debug(
|
||||||
"Updating %s stats for %s: %s", stats_type, stats_id, fields
|
"Updating %s stats for %s: %s", stats_type, stats_id, fields
|
||||||
)
|
)
|
||||||
self._update_stats_delta_txn(
|
self._update_stats_delta_txn(
|
||||||
|
|
Loading…
Reference in New Issue