From a47a906601cef1d55c24b9f52011dddd3c93194b Mon Sep 17 00:00:00 2001 From: Mitchel Disveld Date: Mon, 14 Dec 2020 22:29:50 +0100 Subject: [PATCH] dont prevent no active seeders from starting watchers to restart on connections --- surge/SurgeCore.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/surge/SurgeCore.go b/surge/SurgeCore.go index a1ec794..aee01ea 100644 --- a/surge/SurgeCore.go +++ b/surge/SurgeCore.go @@ -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))