Actually use backup jitter in local backups.
This commit is contained in:
parent
8fe66a14c5
commit
8a972d93e9
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ public class LocalBackupListener extends PersistentAlarmManagerListener {
|
|||
|
||||
int jitter = (new Random().nextInt(BACKUP_JITTER_WINDOW_SECONDS)) - (BACKUP_JITTER_WINDOW_SECONDS / 2);
|
||||
|
||||
next.plusSeconds(jitter);
|
||||
next = next.plusSeconds(jitter);
|
||||
|
||||
if (now.isAfter(next)) {
|
||||
next = next.plusDays(1);
|
||||
|
|
Loading…
Add table
Reference in a new issue