Change default get downloads value to every 1440 mins (was 60)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user