Remove cache time limit for info

This commit is contained in:
Ben Sarmiento
2023-11-21 10:57:33 +01:00
parent 6ae18fba36
commit 3901230943
2 changed files with 17 additions and 23 deletions

View File

@@ -8,24 +8,6 @@ import (
"gopkg.in/yaml.v3"
)
type ConfigInterface interface {
GetVersion() string
GetToken() string
GetNumOfWorkers() int
GetRefreshEverySeconds() int
GetCacheTimeHours() int
EnableRepair() bool
GetHost() string
GetPort() string
GetDirectories() []string
MeetsConditions(directory, torrentName string, torrentIDs, fileNames []string) bool
GetOnLibraryUpdate() string
GetNetworkBufferSize() int
GetMountPoint() string
EnableRetainFolderNameExtension() bool
GetRandomPreferredHost() string
}
func LoadZurgConfig(filename string) (ConfigInterface, error) {
log := logutil.NewLogger().Named("config")