Fix bugs
This commit is contained in:
@@ -25,7 +25,7 @@ type TorrentManager struct {
|
||||
Api *realdebrid.RealDebrid
|
||||
DirectoryMap cmap.ConcurrentMap[string, cmap.ConcurrentMap[string, *Torrent]] // directory -> accessKey -> Torrent
|
||||
DownloadCache cmap.ConcurrentMap[string, *realdebrid.Download]
|
||||
accessKeySet *strset.Set
|
||||
allAccessKeys *strset.Set
|
||||
latestState *LibraryState
|
||||
requiredVersion string
|
||||
workerPool *ants.Pool
|
||||
@@ -42,7 +42,7 @@ func NewTorrentManager(cfg config.ConfigInterface, api *realdebrid.RealDebrid, p
|
||||
t := &TorrentManager{
|
||||
Config: cfg,
|
||||
Api: api,
|
||||
accessKeySet: set.NewStringSet(),
|
||||
allAccessKeys: set.NewStringSet(),
|
||||
latestState: &initialSate,
|
||||
requiredVersion: "06.12.2023",
|
||||
workerPool: p,
|
||||
|
||||
Reference in New Issue
Block a user