Skip to content

Commit

Permalink
dont prevent no active seeders from starting watchers to restart on c…
Browse files Browse the repository at this point in the history
…onnections
  • Loading branch information
MutsiMutsi committed Dec 14, 2020
1 parent 4082c04 commit a47a906
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions surge/SurgeCore.go
Original file line number Diff line number Diff line change
Expand Up @@ -873,11 +873,6 @@ func restartDownload(Hash string) {
downloadSessions = append(downloadSessions, surgeSession)
}

if len(downloadSessions) == 0 {
pushNotification("Restart download Session Failed, failed to connect to all seeders.", file.FileName)
return
}

log.Println("Restarting Download for", file.FileName)
log.Println("Total Chunks", file.NumChunks)
log.Println("Remaining Chunks", len(missingChunks))
Expand Down

0 comments on commit a47a906

Please sign in to comment.