mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
Merge branch 'master' into old-good-engine
This commit is contained in:
@@ -6,5 +6,5 @@ ROOT=${PWD}
|
|||||||
echo "Build web"
|
echo "Build web"
|
||||||
go run gen_web.go
|
go run gen_web.go
|
||||||
|
|
||||||
sudo docker run --rm -v "$PWD":/usr/src/torr -w /usr/src/torr golang:1.16 ./build-all.sh
|
sudo docker run --rm -v "$PWD":/usr/src/torr -v ~/go/pkg/mod:/go/pkg/mod -w /usr/src/torr golang:1.16 ./build-all.sh
|
||||||
sudo chmod 0777 ./dist/*
|
sudo chmod 0777 ./dist/*
|
||||||
6
server/cmd/preconfig_and.go
Normal file
6
server/cmd/preconfig_and.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// +build android
|
||||||
|
|
||||||
|
package main
|
||||||
|
|
||||||
|
// #cgo LDFLAGS: -static-libstdc++
|
||||||
|
import "C"
|
||||||
@@ -28,19 +28,21 @@ type BTSets struct {
|
|||||||
EnableDebug bool // print logs
|
EnableDebug bool // print logs
|
||||||
|
|
||||||
// BT Config
|
// BT Config
|
||||||
EnableIPv6 bool
|
AcceptPeerCon bool `default:"true"`
|
||||||
DisableTCP bool
|
AnnTorrentsToDht bool `default:"true"`
|
||||||
DisableUTP bool
|
EnableIPv6 bool
|
||||||
DisableUPNP bool
|
DisableTCP bool
|
||||||
DisableDHT bool
|
DisableUTP bool
|
||||||
DisablePEX bool
|
DisableUPNP bool
|
||||||
DisableUpload bool
|
DisableDHT bool
|
||||||
DownloadRateLimit int // in kb, 0 - inf
|
DisablePEX bool
|
||||||
UploadRateLimit int // in kb, 0 - inf
|
DisableUpload bool
|
||||||
ConnectionsLimit int
|
DownloadRateLimit int // in kb, 0 - inf
|
||||||
DhtConnectionLimit int // 0 - inf
|
UploadRateLimit int // in kb, 0 - inf
|
||||||
PeersListenPort int
|
ConnectionsLimit int
|
||||||
Strategy int // 0 - RequestStrategyDuplicateRequestTimeout, 1 - RequestStrategyFuzzing, 2 - RequestStrategyFastest
|
//DhtConnectionLimit int // 0 - inf
|
||||||
|
PeersListenPort int
|
||||||
|
//Strategy int // 0 - RequestStrategyDuplicateRequestTimeout, 1 - RequestStrategyFuzzing, 2 - RequestStrategyFastest
|
||||||
}
|
}
|
||||||
|
|
||||||
func (v *BTSets) String() string {
|
func (v *BTSets) String() string {
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
package version
|
package version
|
||||||
|
|
||||||
const Version = "MatriX.101"
|
const Version = "MatriX.102"
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user