mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
remove encryption, add strategy
This commit is contained in:
@@ -31,18 +31,19 @@ type Settings struct {
|
|||||||
RetrackersMode int //0 - don`t add, 1 - add retrackers, 2 - remove retrackers
|
RetrackersMode int //0 - don`t add, 1 - add retrackers, 2 - remove retrackers
|
||||||
|
|
||||||
//BT Config
|
//BT Config
|
||||||
EnableIPv6 bool
|
EnableIPv6 bool
|
||||||
DisableTCP bool
|
DisableTCP bool
|
||||||
DisableUTP bool
|
DisableUTP bool
|
||||||
DisableUPNP bool
|
DisableUPNP bool
|
||||||
DisableDHT bool
|
DisableDHT bool
|
||||||
DisableUpload bool
|
DisableUpload bool
|
||||||
Encryption int // 0 - Enable, 1 - disable, 2 - force
|
//Encryption int // 0 - Enable, 1 - disable, 2 - force
|
||||||
DownloadRateLimit int // in kb, 0 - inf
|
DownloadRateLimit int // in kb, 0 - inf
|
||||||
UploadRateLimit int // in kb, 0 - inf
|
UploadRateLimit int // in kb, 0 - inf
|
||||||
ConnectionsLimit int
|
ConnectionsLimit int
|
||||||
DhtConnectionLimit int // 0 - inf
|
DhtConnectionLimit int // 0 - inf
|
||||||
PeersListenPort int
|
PeersListenPort int
|
||||||
|
PeerStrategy int // 0 - Timeout, 1 - Fastest, 2 - Fuzzing
|
||||||
|
|
||||||
TorrentDisconnectTimeout int // in seconds
|
TorrentDisconnectTimeout int // in seconds
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user