backup 200 keys per request

This commit is contained in:
Bruno Windels 2022-01-31 17:30:15 +01:00
parent 830786b2fd
commit 17275a5390

View file

@ -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<AbortableOperation<Promise<void>, Progress> | undefined>(undefined);