Update Mainline rollback lifetime from 2 days to 14 days.

Test: atest RollbackTest
      atest RollbackE2EHostTestCases
Bug: 137094406

Change-Id: I587d9fca25ead8b7edb76550703837642db545e4
This commit is contained in:
Matt Pape
2019-07-09 10:41:20 -07:00
parent bce828f157
commit 6686f1f916

View File

@@ -86,9 +86,9 @@ class RollbackManagerServiceImpl extends IRollbackManager.Stub {
private static final String TAG = "RollbackManager";
// Rollbacks expire after 48 hours.
// Rollbacks expire after 14 days.
private static final long DEFAULT_ROLLBACK_LIFETIME_DURATION_MILLIS =
TimeUnit.HOURS.toMillis(48);
TimeUnit.DAYS.toMillis(14);
// Lock used to synchronize accesses to in-memory rollback data
// structures. By convention, methods with the suffix "Locked" require