Demote Failed to query device keys for some users warning to level=debug

Many of these warnings are due to dead servers and are quite annoying when they fill up the logs.
This commit is contained in:
Neil Alexander 2022-10-05 11:16:05 +01:00
parent 8c0c3441d8
commit 6f602bb096
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -424,7 +424,7 @@ func (u *DeviceListUpdater) processServer(serverName gomatrixserverlib.ServerNam
"succeeded": successCount, "succeeded": successCount,
"failed": len(userIDs) - successCount, "failed": len(userIDs) - successCount,
"wait_time": waitTime, "wait_time": waitTime,
}).Warn("Failed to query device keys for some users") }).Debug("Failed to query device keys for some users")
} }
return waitTime, !allUsersSucceeded return waitTime, !allUsersSucceeded
} }