mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
Update BTServer.go
This commit is contained in:
@@ -98,7 +98,10 @@ func (bt *BTServer) configure() {
|
|||||||
if settings.Get().UploadRateLimit > 0 {
|
if settings.Get().UploadRateLimit > 0 {
|
||||||
bt.config.UploadRateLimiter = utils.Limit(settings.Get().UploadRateLimit * 1024)
|
bt.config.UploadRateLimiter = utils.Limit(settings.Get().UploadRateLimit * 1024)
|
||||||
}
|
}
|
||||||
|
if settings.Get().ListenPort > 0 {
|
||||||
|
bt.config.ListenPort = settings.Get().ListenPort
|
||||||
|
}
|
||||||
|
|
||||||
//bt.config.Debug = true
|
//bt.config.Debug = true
|
||||||
|
|
||||||
fmt.Println("Configure client:", settings.Get())
|
fmt.Println("Configure client:", settings.Get())
|
||||||
|
|||||||
Reference in New Issue
Block a user