mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-19 16:19:33 +01:00
Add extra guard against inserting unnecessary error messages.
This commit is contained in:
committed by
Cody Henthorne
parent
ec6d5031cf
commit
ee3f2d62cf
@@ -428,11 +428,6 @@ public final class FeatureFlags {
|
||||
return getBoolean(RETRY_RECEIPTS, true);
|
||||
}
|
||||
|
||||
/** How long to wait before considering a retry to be a failure. */
|
||||
public static long retryReceiptLifespan() {
|
||||
return getLong(RETRY_RECEIPT_LIFESPAN, TimeUnit.HOURS.toMillis(1));
|
||||
}
|
||||
|
||||
/** How old a message is allowed to be while still resending in response to a retry receipt . */
|
||||
public static long retryRespondMaxAge() {
|
||||
return getLong(RETRY_RESPOND_MAX_AGE, TimeUnit.DAYS.toMillis(14));
|
||||
|
||||
Reference in New Issue
Block a user