You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
Increase grace period to allow time for key sharing
This commit is contained in:
@@ -48,7 +48,7 @@ export default class DecryptionFailureTracker {
|
|||||||
|
|
||||||
// Give events a chance to be decrypted by waiting `GRACE_PERIOD_MS` before moving
|
// Give events a chance to be decrypted by waiting `GRACE_PERIOD_MS` before moving
|
||||||
// the failure to `failuresToTrack`.
|
// the failure to `failuresToTrack`.
|
||||||
static GRACE_PERIOD_MS = 5000;
|
static GRACE_PERIOD_MS = 60000;
|
||||||
|
|
||||||
constructor(fn) {
|
constructor(fn) {
|
||||||
if (!fn || typeof fn !== 'function') {
|
if (!fn || typeof fn !== 'function') {
|
||||||
|
|||||||
Reference in New Issue
Block a user