From 17275a53903a2592fe0215002f4f22b9dad8b897 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 31 Jan 2022 17:30:15 +0100 Subject: [PATCH] backup 200 keys per request --- src/matrix/e2ee/megolm/keybackup/KeyBackup.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix/e2ee/megolm/keybackup/KeyBackup.ts b/src/matrix/e2ee/megolm/keybackup/KeyBackup.ts index e20ccc1a..998fb67f 100644 --- a/src/matrix/e2ee/megolm/keybackup/KeyBackup.ts +++ b/src/matrix/e2ee/megolm/keybackup/KeyBackup.ts @@ -34,7 +34,7 @@ import type {Transaction} from "../../../storage/idb/Transaction"; import type * as OlmNamespace from "@matrix-org/olm"; type Olm = typeof OlmNamespace; -const KEYS_PER_REQUEST = 20; +const KEYS_PER_REQUEST = 200; export class KeyBackup { public readonly operationInProgress = new ObservableValue, Progress> | undefined>(undefined);