log total backed up keys during flush operation
This commit is contained in:
parent
b29ecd339d
commit
00c5e747d2
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Reference in a new issue