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 // 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') {