Increase decryption failure grace period (#12298)

pull/28217/head
Valere 2024-02-29 16:29:59 +01:00 committed by GitHub
parent 71cece7641
commit dc5803fc30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -93,11 +93,11 @@ export class DecryptionFailureTracker {
public static TRACK_INTERVAL_MS = 60000;
// Call `checkFailures` every `CHECK_INTERVAL_MS`.
public static CHECK_INTERVAL_MS = 5000;
public static CHECK_INTERVAL_MS = 40000;
// Give events a chance to be decrypted by waiting `GRACE_PERIOD_MS` before counting
// the failure in `failureCounts`.
public static GRACE_PERIOD_MS = 4000;
public static GRACE_PERIOD_MS = 30000;
/**
* Create a new DecryptionFailureTracker.