Stop spamming the logs with `StateBetween: ignoring deleted state` event IDs
MODIFY
syncapi/storage/postgres/output_room_events_table.go
syncapi/storage/postgres/output_room_events_table.go
@@ -279,8 +279,8 @@ func (s *outputRoomEventsStatements) SelectStateInRange(
log.WithFields(log.Fields{
"since": r.From,
"current": r.To,
- "adds": addIDs,
- "dels": delIDs,
+ "adds": len(addIDs),
+ "dels": len(delIDs),
}).Warn("StateBetween: ignoring deleted state")
}

MODIFY
syncapi/storage/sqlite3/output_room_events_table.go
syncapi/storage/sqlite3/output_room_events_table.go
@@ -234,8 +234,8 @@ func (s *outputRoomEventsStatements) SelectStateInRange(
log.WithFields(log.Fields{
"since": r.From,
"current": r.To,
- "adds": addIDsJSON,
- "dels": delIDsJSON,
+ "adds": len(addIDsJSON),
+ "dels": len(delIDsJSON),
}).Warn("StateBetween: ignoring deleted state")
}

Stop spamming the logs with `StateBetween: ignoring deleted state` event IDs