Add network test command
This commit is contained in:
@@ -18,7 +18,6 @@ type ConfigInterface interface {
|
||||
GetPort() string
|
||||
GetUsername() string
|
||||
GetPassword() string
|
||||
GetProxy() string
|
||||
GetDirectories() []string
|
||||
MeetsConditions(directory, torrentName string, torrentSize int64, torrentIDs, fileNames []string, fileSizes []int64, mediaInfos []*ffprobe.ProbeData) bool
|
||||
GetOnLibraryUpdate() string
|
||||
@@ -101,13 +100,6 @@ func (z *ZurgConfig) GetPassword() string {
|
||||
return z.Password
|
||||
}
|
||||
|
||||
func (z *ZurgConfig) GetProxy() string {
|
||||
if os.Getenv("PROXY") != "" {
|
||||
return os.Getenv("PROXY")
|
||||
}
|
||||
return z.Proxy
|
||||
}
|
||||
|
||||
func (z *ZurgConfig) GetNumOfWorkers() int {
|
||||
if z.NumOfWorkers == 0 {
|
||||
return 20
|
||||
|
||||
Reference in New Issue
Block a user