task(event cache store): include the number of added items in one log

This commit is contained in:
Benjamin Bouvier
2024-12-10 14:44:42 +01:00
parent 4402f59e74
commit 925d10f2ff

View File

@@ -461,7 +461,7 @@ impl EventCacheStore for SqliteEventCacheStore {
Update::PushItems { at, items } => {
let chunk_id = at.chunk_identifier().index();
trace!(%room_id, "pushing items @ {chunk_id}");
trace!(%room_id, "pushing {} items @ {chunk_id}", items.len());
for (i, event) in items.into_iter().enumerate() {
let serialized = serde_json::to_vec(&event)?;