fix(clients): qBittorrent rules ignore slow (#1200)

fix(clients): qBit rules ignore slow
This commit is contained in:
ze0s 2023-10-23 18:36:50 +02:00 committed by GitHub
parent ee0d055743
commit d602b1e868
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 77 additions and 62 deletions

View file

@ -31,10 +31,13 @@ interface DownloadClientRules {
enabled: boolean;
max_active_downloads: number;
ignore_slow_torrents: boolean;
ignore_slow_torrents_condition: IgnoreTorrentsCondition;
download_speed_threshold: number;
upload_speed_threshold: number;
}
type IgnoreTorrentsCondition = "ALWAYS" | "MAX_DOWNLOADS_REACHED";
interface DownloadClientBasicAuth {
auth: boolean;
username: string;