feat(actions): deluge v2 add skip recheck (#1321)

* feat(actions): add skip recheck for deluge v2

* chore(deps): update go-deluge to v1.2.0
This commit is contained in:
soup 2023-12-28 16:59:17 +01:00 committed by GitHub
parent ebbd851a2e
commit 2a4fb7750b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 3 deletions

View file

@ -335,6 +335,9 @@ func (s *service) prepareDelugeOptions(action *domain.Action) (deluge.Options, e
maxUL := int(action.LimitUploadSpeed)
options.MaxUploadSpeed = &maxUL
}
if action.SkipHashCheck {
options.V2.SeedMode = &action.SkipHashCheck
}
return options, nil
}