mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 13:14:58 +08:00
Increase grace period to allow time for key sharing
This commit is contained in:
parent
01dd387970
commit
ab990d8cec
@ -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') {
|
||||
|
Loading…
Reference in New Issue
Block a user