mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
backup 200 keys per request
This commit is contained in:
parent
830786b2fd
commit
17275a5390
@ -34,7 +34,7 @@ import type {Transaction} from "../../../storage/idb/Transaction";
|
|||||||
import type * as OlmNamespace from "@matrix-org/olm";
|
import type * as OlmNamespace from "@matrix-org/olm";
|
||||||
type Olm = typeof OlmNamespace;
|
type Olm = typeof OlmNamespace;
|
||||||
|
|
||||||
const KEYS_PER_REQUEST = 20;
|
const KEYS_PER_REQUEST = 200;
|
||||||
|
|
||||||
export class KeyBackup {
|
export class KeyBackup {
|
||||||
public readonly operationInProgress = new ObservableValue<AbortableOperation<Promise<void>, Progress> | undefined>(undefined);
|
public readonly operationInProgress = new ObservableValue<AbortableOperation<Promise<void>, Progress> | undefined>(undefined);
|
||||||
|
Loading…
Reference in New Issue
Block a user