diff --git a/internal/config/types.go b/internal/config/types.go index 8a54e8d..b1aa607 100644 --- a/internal/config/types.go +++ b/internal/config/types.go @@ -131,7 +131,7 @@ func (z *ZurgConfig) GetRepairEveryMins() int { func (z *ZurgConfig) GetDownloadsEveryMins() int { if z.DownloadsEveryMins == 0 { - return 60 + return 1440 } return z.DownloadsEveryMins } diff --git a/internal/torrent/repair.go b/internal/torrent/repair.go index fe445cd..584ad8d 100644 --- a/internal/torrent/repair.go +++ b/internal/torrent/repair.go @@ -79,7 +79,7 @@ func (t *TorrentManager) invokeRepair(torrent *Torrent) { func (t *TorrentManager) TriggerRepair(torrent *Torrent) { if torrent != nil { if err := torrent.State.Event(context.Background(), "break_torrent"); err != nil { - t.repairLog.Errorf("Failed to mark torrent %s as broken: %v", t.GetKey(torrent), err) + // t.repairLog.Errorf("Failed to mark torrent %s as broken: %v", t.GetKey(torrent), err) return } if !t.Config.EnableRepair() { @@ -155,7 +155,7 @@ func (t *TorrentManager) Repair(torrent *Torrent, wg *sync.WaitGroup) { } if err := torrent.State.Event(context.Background(), "repair_torrent"); err != nil && t.inProgressHashes.Contains(torrent.Hash) { - t.repairLog.Errorf("Failed to mark torrent %s as under repair: %v", t.GetKey(torrent), err) + // t.repairLog.Errorf("Failed to mark torrent %s as under repair: %v", t.GetKey(torrent), err) return } t.repair(torrent)