fix: download clients rule checking (#137)

* fix: download client rules exit

* feat: improve re-announce
This commit is contained in:
Ludvig Lundgren 2022-02-13 18:24:41 +01:00 committed by GitHub
parent b60e5f61c6
commit c3687b8fa5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 74 additions and 23 deletions

View file

@ -92,7 +92,8 @@ func (s *service) runAction(action domain.Action, release domain.Release) error
return err
}
if !canDownload {
rejections = []string{"deluge busy"}
rejections = []string{"max active downloads reached, skipping"}
break
}
if release.TorrentTmpFile == "" {
@ -120,7 +121,8 @@ func (s *service) runAction(action domain.Action, release domain.Release) error
return err
}
if !canDownload {
rejections = []string{"qBittorrent busy"}
rejections = []string{"max active downloads reached, skipping"}
break
}
if release.TorrentTmpFile == "" {