From bc5c31d8f78d60ed10f6790a507900f7323d4f12 Mon Sep 17 00:00:00 2001 From: Valere Date: Thu, 29 Feb 2024 13:58:44 +0100 Subject: [PATCH] Increase decryption failure grace period --- .../vector/app/features/analytics/DecryptionFailureTracker.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vector/src/main/java/im/vector/app/features/analytics/DecryptionFailureTracker.kt b/vector/src/main/java/im/vector/app/features/analytics/DecryptionFailureTracker.kt index d596741d53..988e49023a 100644 --- a/vector/src/main/java/im/vector/app/features/analytics/DecryptionFailureTracker.kt +++ b/vector/src/main/java/im/vector/app/features/analytics/DecryptionFailureTracker.kt @@ -40,8 +40,8 @@ private data class DecryptionFailure( ) private typealias DetailedErrorName = Pair -private const val GRACE_PERIOD_MILLIS = 4_000 -private const val CHECK_INTERVAL = 2_000L +private const val GRACE_PERIOD_MILLIS = 30_000 +private const val CHECK_INTERVAL = 40_000L /** * Tracks decryption errors that are visible to the user.