1
0
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:
Luke Barnard
2018-06-28 15:07:58 +01:00
parent 01dd387970
commit ab990d8cec

View File

@@ -48,7 +48,7 @@ export default class DecryptionFailureTracker {
// Give events a chance to be decrypted by waiting `GRACE_PERIOD_MS` before moving
// the failure to `failuresToTrack`.
static GRACE_PERIOD_MS = 5000;
static GRACE_PERIOD_MS = 60000;
constructor(fn) {
if (!fn || typeof fn !== 'function') {