mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
log total backed up keys during flush operation
This commit is contained in:
parent
b29ecd339d
commit
00c5e747d2
@ -127,6 +127,7 @@ export class KeyBackup {
|
||||
const keysNeedingBackup = (await txn.inboundGroupSessions.getFirstNonBackedUpSessions(KEYS_PER_REQUEST))
|
||||
.map(entry => new StoredRoomKey(entry));
|
||||
if (keysNeedingBackup.length === 0) {
|
||||
log.set("total", total);
|
||||
return;
|
||||
}
|
||||
const payload = await this.encodeKeysForBackup(keysNeedingBackup);
|
||||
|
Loading…
Reference in New Issue
Block a user