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

This commit is contained in:
Neil Alexander 2022-08-16 14:42:35 +01:00
parent ec16c944eb
commit ad4ac2c016
No known key found for this signature in database
GPG Key ID: A02A2019A2BB0944
2 changed files with 4 additions and 4 deletions

View File

@ -279,8 +279,8 @@ func (s *outputRoomEventsStatements) SelectStateInRange(
log.WithFields(log.Fields{ log.WithFields(log.Fields{
"since": r.From, "since": r.From,
"current": r.To, "current": r.To,
"adds": addIDs, "adds": len(addIDs),
"dels": delIDs, "dels": len(delIDs),
}).Warn("StateBetween: ignoring deleted state") }).Warn("StateBetween: ignoring deleted state")
} }

View File

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