1
0
mirror of https://github.com/vector-im/riotX-android synced 2025-10-05 15:52:47 +02:00

Increase decryption failure tracker grace period

This commit is contained in:
Valere
2024-02-29 14:03:40 +01:00
parent 79462bcb90
commit f6ff762172

View File

@@ -40,8 +40,8 @@ private data class DecryptionFailure(
)
private typealias DetailedErrorName = Pair<String, Error.Name>
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.