mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-22 10:15:33 +00:00
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
1
changelog.d/6250.misc
Normal file
1
changelog.d/6250.misc
Normal file
@ -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
Block a user