Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit dc5803f

Browse files
authored
Increase decryption failure grace period (#12298)
1 parent 71cece7 commit dc5803f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/DecryptionFailureTracker.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,11 @@ export class DecryptionFailureTracker {
9393
public static TRACK_INTERVAL_MS = 60000;
9494

9595
// Call `checkFailures` every `CHECK_INTERVAL_MS`.
96-
public static CHECK_INTERVAL_MS = 5000;
96+
public static CHECK_INTERVAL_MS = 40000;
9797

9898
// Give events a chance to be decrypted by waiting `GRACE_PERIOD_MS` before counting
9999
// the failure in `failureCounts`.
100-
public static GRACE_PERIOD_MS = 4000;
100+
public static GRACE_PERIOD_MS = 30000;
101101

102102
/**
103103
* Create a new DecryptionFailureTracker.

0 commit comments

Comments
 (0)