Increase the default period to allow for more async writes.
Bug: 252726591 Test: presubmit Change-Id: I652a101fac05dfc588b0cb02e77c6ddba8c593d4
This commit is contained in:
@@ -5594,8 +5594,8 @@ public final class Settings implements Watchable, Snappable {
|
||||
}
|
||||
|
||||
private static final class RuntimePermissionPersistence {
|
||||
// 200-400ms delay to avoid monopolizing PMS lock when written for multiple users.
|
||||
private static final long WRITE_PERMISSIONS_DELAY_MILLIS = 300;
|
||||
// 700-1300ms delay to avoid monopolizing PMS lock when written for multiple users.
|
||||
private static final long WRITE_PERMISSIONS_DELAY_MILLIS = 1000;
|
||||
private static final double WRITE_PERMISSIONS_DELAY_JITTER = 0.3;
|
||||
|
||||
private static final long MAX_WRITE_PERMISSIONS_DELAY_MILLIS = 2000;
|
||||
|
||||
Reference in New Issue
Block a user