mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
remove unused
This commit is contained in:
@@ -54,12 +54,8 @@ func (bt *BTServer) configure() {
|
|||||||
blocklist, _ := utils.ReadBlockedIP()
|
blocklist, _ := utils.ReadBlockedIP()
|
||||||
bt.config = torrent.NewDefaultClientConfig()
|
bt.config = torrent.NewDefaultClientConfig()
|
||||||
|
|
||||||
if !settings.BTsets.SaveOnDisk {
|
bt.storage = torrstor.NewStorage(settings.BTsets.CacheSize)
|
||||||
bt.storage = torrstor.NewStorage(settings.BTsets.CacheSize)
|
bt.config.DefaultStorage = bt.storage
|
||||||
bt.config.DefaultStorage = bt.storage
|
|
||||||
} else {
|
|
||||||
bt.config.DataDir = settings.BTsets.ContentPath
|
|
||||||
}
|
|
||||||
|
|
||||||
userAgent := "qBittorrent/4.3.2"
|
userAgent := "qBittorrent/4.3.2"
|
||||||
peerID := "-qB4320-"
|
peerID := "-qB4320-"
|
||||||
|
|||||||
Reference in New Issue
Block a user