Fixers and repairs
This commit is contained in:
@@ -27,8 +27,8 @@ type TorrentManager struct {
|
||||
DirectoryMap cmap.ConcurrentMap[string, cmap.ConcurrentMap[string, *Torrent]] // directory -> accessKey -> Torrent
|
||||
DownloadCache cmap.ConcurrentMap[string, *realdebrid.Download]
|
||||
DownloadMap cmap.ConcurrentMap[string, *realdebrid.Download]
|
||||
onlyForRepair cmap.ConcurrentMap[string, *Torrent]
|
||||
Repairs mapset.Set[string]
|
||||
fixers cmap.ConcurrentMap[string, *Torrent]
|
||||
repairs mapset.Set[string]
|
||||
allAccessKeys mapset.Set[string]
|
||||
latestState *LibraryState
|
||||
requiredVersion string
|
||||
@@ -47,8 +47,8 @@ func NewTorrentManager(cfg config.ConfigInterface, api *realdebrid.RealDebrid, w
|
||||
DirectoryMap: cmap.New[cmap.ConcurrentMap[string, *Torrent]](),
|
||||
DownloadCache: cmap.New[*realdebrid.Download](),
|
||||
DownloadMap: cmap.New[*realdebrid.Download](),
|
||||
onlyForRepair: cmap.New[*Torrent](),
|
||||
Repairs: mapset.NewSet[string](),
|
||||
fixers: cmap.New[*Torrent](),
|
||||
repairs: mapset.NewSet[string](),
|
||||
allAccessKeys: mapset.NewSet[string](),
|
||||
latestState: &LibraryState{},
|
||||
requiredVersion: "11.01.2024",
|
||||
|
||||
Reference in New Issue
Block a user