mirror of
https://github.com/Lidarr/Lidarr
synced 2025-12-12 11:23:13 +01:00
Fixed: Backups interval being used as minutes instead of days
This commit is contained in:
parent
9370e496dd
commit
00e1568e70
1 changed files with 2 additions and 2 deletions
|
|
@ -157,9 +157,9 @@ public void HandleAsync(ConfigSavedEvent message)
|
|||
rss.Interval = _configService.RssSyncInterval;
|
||||
|
||||
var backup = _scheduledTaskRepository.GetDefinition(typeof(BackupCommand));
|
||||
backup.Interval = _configService.BackupInterval;
|
||||
backup.Interval = GetBackupInterval();
|
||||
|
||||
_scheduledTaskRepository.UpdateMany(new List<ScheduledTask>{ rss, backup });
|
||||
_scheduledTaskRepository.UpdateMany(new List<ScheduledTask> { rss, backup });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue