mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
add def value
This commit is contained in:
@@ -28,20 +28,20 @@ type BTSets struct {
|
|||||||
EnableDebug bool // print logs
|
EnableDebug bool // print logs
|
||||||
|
|
||||||
// BT Config
|
// BT Config
|
||||||
AcceptPeerCon bool
|
AcceptPeerCon bool `default:"true"`
|
||||||
AnnTorrentsToDht bool
|
AnnTorrentsToDht bool `default:"true"`
|
||||||
EnableIPv6 bool
|
EnableIPv6 bool
|
||||||
DisableTCP bool
|
DisableTCP bool
|
||||||
DisableUTP bool
|
DisableUTP bool
|
||||||
DisableUPNP bool
|
DisableUPNP bool
|
||||||
DisableDHT bool
|
DisableDHT bool
|
||||||
DisablePEX bool
|
DisablePEX bool
|
||||||
DisableUpload bool
|
DisableUpload bool
|
||||||
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
|
||||||
//Strategy int // 0 - RequestStrategyDuplicateRequestTimeout, 1 - RequestStrategyFuzzing, 2 - RequestStrategyFastest
|
//Strategy int // 0 - RequestStrategyDuplicateRequestTimeout, 1 - RequestStrategyFuzzing, 2 - RequestStrategyFastest
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user